In the code below should the combobox show cComboVar ("B") it always displays "A"
Colin
- Code: Select all Expand view RUN
#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)