Hello,
Is this a bug or a feature?
You can not disable any control when you use a WHEN clause. For example:
Is this a feature or a bug?
Patrick
Is this a bug or a feature?
You can not disable any control when you use a WHEN clause. For example:
#include "FiveWin.ch"
FUNCTION Main()
LOCAL oDlg, oGet1, oGet2
LOCAL cVar1:="test 1"
LOCAL cVar2:="test 2"
SetGetColorFocus()
DEFINE DIALOG oDlg TITLE "Test"
@ 1, 6 GET oGet1 VAR cVar1 OF oDlg SIZE 60, 10
@ 2, 6 GET oGet2 VAR cVar2 OF oDlg SIZE 60, 10 WHEN .T.
oGet2:Disable()
@ 3, 7 BUTTON "&Ok" OF oDlg SIZE 30, 12 ACTION oDlg:End()
@ 3,16 BUTTON "&Cancel" SIZE 30, 12 OF oDlg ACTION oDlg:End() CANCEL
ACTIVATE DIALOG oDlg CENTERED
RETURN NILIs this a feature or a bug?
Patrick