Description
The User Object painter has these new features:
|
What's new
|
Highlights
|
|
Views for nonmodal development
|
Because the painter window now has views, the User Object painter is no longer modal. This means you can simultaneously work on the layout of controls (in the Layout view for a custom visual user object) and code scripts for the controls (in the Script view)
|
|
New window controls
|
For a custom visual user object. 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 views available depend on the type of user object you select from the Object tab in the New dialog box. Here's the User Object painter with a standard visual user object:

These views are available in the View menu:
Layout Control List Non-Visual Object List Properties Event List Function List Script Structure List Structure
The Layout view and the Control List view are only needed for visual user objects so they are not available for nonvisual user objects.
Usage
These are some of the things you can do in the User Object painter:
|
To do this
|
Do this
|
|
Code the script for the user object or a control
|
Use the Script view. For a control in a visual user object, double-click on 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 user object by inserting a nonvisual object in the user object
|
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 nonvisual user object
|
Create a nonvisual user object by inheriting from a custom class or standard class user object that has public or protected instance variables with simple data types
|
|
Enable validation for a custom class user object you plan to deploy to Jaguar or MTS
|
See Jaguar and COM/MTS code validation
|
|
Change the tab order of controls in the window
|
Select Format>Tab Order from the menu bar
|
|
Build the project for a user object that is a Jaguar component each time you save the user object
|
Use the Jaguar Project property in the Properties view to specify the Jaguar project
|
|
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 Jaguar and COM/MTS code validation
|