DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Creating an SCO Visual Tcl program -- an overview

Retrieving attached variables (VxGetVar)

Generally, VxSetVar(VTCL) is used to conceptually attach a named string to a widget. In this case, the widget is the form, the name of the data is the name of the button and the data string is the button widget handle. In this example, we specify the handle of the form ($form), the name of the widget we are attaching (button1) and the widget's handle.

These handles can then be accessed by using VxGetVar(VTCL), specifying the form widget handle and the name of the desired data.


Next topic: VxSetVar example
Previous topic: Attaching variables to a form (VxSetVar)

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003