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(1vtcl) 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(1vtcl), specifying the form widget handle and the name of the desired data.


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004