PML Customisation
User Guide
Gadget Set
:
Option and Combobox Gadgets
: Pixmap Option Gadgets
Pixmap Option Gadgets
The gadget-shape must be specified, using the
WIDTH
keyword and either
HEIGHT
or
ASPECT
. A tag name is optional and is displayed to the left of the gadget.
The display text should be set to pixmap’s filename and assigned to the
Dtext
member:
!CircleDtextsArray[1] = '/directory/circle/cenrad'
!CircleDtextsArray[2] = '/directory/circle/3pts'
!!MyForm.Circle.Dtext = !CircleArray
option .Circle1 AT . . . callback '!!MyFunc()' PIXMAP width 256 height 128
option .Circle2 AT . . . callback '!!MyFunc()' PIXMAP width 256 aspect 2.0
The replacement-texts, if needed, are set by assigning an array of values to the
Rtext
member.
!CircleRtextsArray[1] = 'Specify centre and radius'
!CircleRtextsArray[2] = 'Pick three points on the circumference'
!!MyForm.Circle.Rtext = !CircleArray
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.