Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Engineering

Pixmap Option Gadgets

  • Last UpdatedNov 01, 2022
  • 1 minute read

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

TitleResults for “How to create a CRG?”Also Available in