New topic in Getting Started: GroupBox and Radio Buttons
SandyB - Sun Mar 30, 2008 11:12 am <http://forums.realsoftware.com/viewtopic.php?t=21530> I'm trying to use these for the first time. The LR and Tutorial seem to adequately cover changing background color, size, shape etc, but what I need to know is just how to make the things work. Before I waste a whole day experimenting, could someone just tell me if I'm on the right track or not, and if not, where I derailed. It seems that the GroupBox should have a lower index number than the radio buttons; that then if one button is clicked all others in the group are blanked; that clicking a button sets its value from something to something else. 1st Q: From what to what? 0 to 1, True to False? etc. 2nd Q: When its changed, how does that value/text get transfered to the GroupBox? Is it automatic (as in Access) or do you have to write the code to do it? 3rd Q: If you have to write the code, how do you detect the diffrence between button values/texts? By If...Then...Else statements, by Select Case statement? 4th Q: If you're saving data to a db, is it enough to save the GroupBox value? i.e. can you go from retrieving just that back to displaying a saved dataset or do you also need to save the value of each radio button in the db? Thanks in advance for your help. I hope to finish this today and move on to the next part. -- Over 900 classes with 18000 functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v8.1. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> [email protected]
