combo/radio saving variables

Started by chairpak, February 17, 2009, 01:15:05 PM

Previous topic - Next topic

chairpak

Hello,
First time poster, Long time (20+years) Lisp writer.

I would like to grab selections from a combo list and a radio selection to use as selections in my routines:
(setq combo1_selection "some value set at that location")
(setq radio_choice "opt_1, opt2, or opt3")

I have read many posts and cannot figure out which is the best way to grab these choices.

Any help is appreciated and thank you in advance.



BazzaCAD

I'm sorry I don't quite understand the question.
Is this a DCL question or an OpenDCL question?
Have you read through the Tutorial yet? http://www.opendcl.com/forum/index.php?topic=501.0

You'll need to use events to check which items are selected.
You could use an "OnClicked" event on an OK button & check each control or you could use an "OnSelChanged" event on an OptionList control.
It all depends on what you're trying to do....

a.k.a.
Barry Ralphs
barryDOTralphsATgmailDOTcom

chairpak

Thank you BazzaCAD for the quick response.
I found the list of action commands.
This is what I was looking for.
I'm sorry that I over simplified the question.