I did try
FOR EACH oControl IN THISFORM.Objects
IF INLIST(UPPER(oControl.baseClass),'TEXTBOX','EDITBOX','COMBOBOX','CHECKBOX')
BINDEVENT(oControl,'InteractiveChange',THISFORM,'mEnableSave')
ENDIF
ENDFOR
This work, but when I try
mFormControls = 'THISFORM.Controls'
FOR EACH oControl IN &mFormControls
IF INLIST(UPPER(oControl.baseClass),'TEXTBOX','EDITBOX','COMBOBOX','CHECKBOX')
BINDEVENT(oControl,'InteractiveChange',THISFORM,'mEnableSave')
ENDIF
ENDFOR
The error message of 'Nesting Error' Prompted.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only