ComboBox
Posted: Fri Feb 15, 2013 2:56 am
Hi All
In the code below should the combobox show cComboVar ("B") it always displays "A"
Colin
In the code below should the combobox show cComboVar ("B") it always displays "A"
Colin
- Code: Select all Expand view
#include "FiveLinux.ch"
function main()
local oWnd,oCombo,aItems := {"A","B","C"},cComboVar := "B"
DEFINE WINDOW oWnd ;
SIZE 800,600
@10,10 COMBOBOX oCombo VAR cComboVar of oWnd ITEMS aItems
ACTIVATE WINDOW oWnd CENTERED ;
VALID MsgYesNo( "Are you sure ?" )
return(nil)