Combobox , changing aitems dynimacaly
Posted: Tue Oct 18, 2005 6:43 am
Hello,
I try to use comboxes , and change oCombox:aItems in the dialog.
I started with samples/Combox.prg , and try to change oCbx2:aItems (second combobox)
1)oCbx2:bGotFocus := ;
{|| oCbx2:aItems := { "1:One", "2:CHANGED", "3:Three" } }
The second combobox receives no visible focus , clicking shows the old items
bWhen shows focus , but the result is also bad
2) I tryed to use the VALID clausule from the first combobox :
VALID ( msginfo("ok") , oCbx2:aItems := { "1:One", "2:CHANGED", "3:Three" } , .T. )
BUT , THIS IS NOT EXECUTED , MSGINFO HAS NO EFFECT !!!!!!!!!
Frank
I try to use comboxes , and change oCombox:aItems in the dialog.
I started with samples/Combox.prg , and try to change oCbx2:aItems (second combobox)
1)oCbx2:bGotFocus := ;
{|| oCbx2:aItems := { "1:One", "2:CHANGED", "3:Three" } }
The second combobox receives no visible focus , clicking shows the old items
bWhen shows focus , but the result is also bad
2) I tryed to use the VALID clausule from the first combobox :
VALID ( msginfo("ok") , oCbx2:aItems := { "1:One", "2:CHANGED", "3:Three" } , .T. )
BUT , THIS IS NOT EXECUTED , MSGINFO HAS NO EFFECT !!!!!!!!!
Frank