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

Specifying an action when user clicks OK (KillFormOkCB)

The KillFormOkCB callback takes three parameters:

To kill the process, exec(TCL) runs the kill -9 command on the process ID contained in pid. In real practice, a catch would typically be placed around this command.

Next, VxGetVar(VTCL) gets the handle of the list widget, and calls the DoRefresh procedure to update the list.


© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005