Bug in Combobox
Posted: Sun Dec 18, 2005 9:45 pm
In the following sample:
if you click on the button you get the following error:
Message not found TCOMBOBOX:VARPUT
EMG
Code: Select all
#include "Fwce.ch"
FUNCTION MAIN()
LOCAL oWnd, oCbx
LOCAL aVar := { "A", "B", "C" }
LOCAL cVar := ""
DEFINE WINDOW oWnd
@ 1, 1 COMBOBOX oCbx VAR cVar;
ITEMS aVar
oCbx:SetFocus()
@ 3, 1 BUTTON "Change";
ACTION ( oCbx:VarPut( "B" ), oCbx:Refresh() )
ACTIVATE WINDOW oWnd
RETURN NIL
Message not found TCOMBOBOX:VARPUT
EMG