Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

radiobutton - OnClick 1

Status
Not open for further replies.

reggler

Programmer
Nov 13, 2008
63
CA
Hi There,

I have two colums with radio buttons.
If a certain button on the left is clicked - the right buttons should get enabled and when the selection on the left cghanges, I want to disable the right column.
How can i achieve this? How can I "event trigger" this?
Thank you,
Ron

Ron
Hours of planing can save weeks of coding
 
You would need to use the radio-button's "command" option:
Command-Line Name: -command
Database Name: command
Database Class: Command
Specifies a Tcl command to associate with the button. This command is typically invoked when mouse button 1 is released over the button window. The button's global variable (-variable option) will be updated before the command is invoked.
The command specified should perform the appropriate function based on the value of the radio button's variable. That is, the command will be executed every time the button is clicked so one value should make the appropriate buttons appear and the other should make them disappear.

_________________
Bob Rashkin
 
Thanks Bong,

I had figure that out already but since you took the time to post an answer, you'll get the star ;)

Thanks,

Ron
Hours of planing can save weeks of coding
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top