Author Topic: ComboBox drop down select  (Read 133 times)

0 Members and 1 Guest are viewing this topic.

Lastknownuser

  • Mosquito
  • Posts: 6
ComboBox drop down select
« on: December 22, 2021, 06:28:12 AM »
Hi, I recently started doing OpenDCL programs, but its hard to find tutorials and I can't register on OpenDCL forum (I'm not getting mail to confirm my account). I'm having a problem, and solution should be easy but can't figure it out. I define a list of values (item1, item2,...) that can be selected by drop down combobox. How to setq a variable of the chosen value? For example, I choose "item1", and I want that some variable "VALUE" to be "item1" that is used later in my program.

lesperguer

  • Mosquito
  • Posts: 2
Re: ComboBox drop down select
« Reply #1 on: January 09, 2022, 02:30:14 PM »
Hi, did you check the tutorial attached? Its available in opendcl website.

Im recently learning OpenDCL I don have experience with the dropdown control. But if you check the Help fo opendcl you will find the controls and theirs properties.

I wondering you can do it with (dcl-Control-SetText [dropdown  name] [NewValue as string]) , the value of 'NewValue'  always must be a string.

I hope you have resolve it.