Brent,

 > I am attempting to put a stop button on a vtcl interface to halt the 
execution of a routine running under vtcl, but the exit command
 > seems to be disabled...is there any way around this?
 
Not sure I understand this question.   It sounds like you could make you 
proceedure check for a variable occasionally, then set the variable with 
the button.

> Also, I would like to change the state of a button from active to 
> disabled automatically during the execution of my procedure...how 
> would I go about doing this?

Should be easy, use the pathname of the button, followed by the 
'configure, command, and then the attribute you want to change.
Such as:
.b configure -state disabled and
.b configure -state normal

In Visual Tcl (and projects), you can refer to a widget by its alias,
Such as:
Button1 configure -state disabled and
Button1 configure -state normal

-- Luke Kale Myers


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to