Description
The Window painter has these new features:
|
What's new
|
Highlights
|
|
Views for nonmodal development
|
Because the painter window now has views, the Window painter is no longer modal. This means you can simultaneously work on the layout of window controls (in the Layout view) and code scripts for the controls (in the Script view)
|
|
New window controls
|
The controls are HTrackBar, VTrackBar, HProgressBar, VProgressBar, StaticHyperLink, and PictureHyperLink
|
|
Image support for the Internet
|
All controls that support bitmaps now support GIF and JPEG images. Picture and PictureButton controls also support animated GIF images.
|
The default views you see when the Window painter opens are Layout, Script, and Properties, with the Event and Function List views stacked under the Script view:

These views are available in the View menu:
Layout Control List Non-Visual Object List Properties Event List Function List Script Structure List Structure
Usage
These are some of the things you can do in the Window painter:
|
To do this
|
Do this
|
|
Code the script for a control
|
Double-click the control or select Script from the control's popup menu. See Writing scripts
|
|
Compile script
|
Select Edit>Compile from the menu bar or select Compile from the popup menu in the Script view or click the Compile button on the PainterBar
|
|
Make the services of a nonvisual object available to the window by inserting a nonvisual object in the window
|
Select Insert>Object from the menu bar and then select a standard class user object or select User Object and specify the user object
You can see the inserted object in the Non-Visual Object List view
|
|
Display and modify instance variables in the Properties view of an inherited window
|
Create a window by inheriting from a window that has public or protected instance variables with simple data types
|
|
Change a control's properties
|
In the Layout view, if the Properties view is open, select the control. If the Properties view is not open, select Properties from the control's popup menu
|
|
Change the tab order of controls in the window
|
Select Format>Tab Order from the menu bar
|
|
Return the painter window's views to the default or save a view layout
|
Select Design>Options from the menu bar and use the Layout tab page
|
See also
Views for nonmodal development Writing scripts
|