Hello,
I have a button type combobox with a list of value in menu items (00, 01, 02, 03,..).
And, I would like to script that during preOpenCard, the selected value of the combo is 02.
I tried many ways, but didn't find one working and didn't find something helping me in the documentation.
Does someone have any idea?
Thanks
Hapache
setting a intial value in a combo box
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: setting a intial value in a combo box
Hi Hapache,
look at menuhistory.
regards
Bernd
look at menuhistory.
Code: Select all
set the menuhistory of btn "myComboBox" to 2
Bernd
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
Re: setting a intial value in a combo box
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
Re: setting a intial value in a combo box
This is working perfectlybn wrote:Hi Hapache,
look at menuhistory.regardsCode: Select all
set the menuhistory of btn "myComboBox" to 2
Bernd
Thanks