Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro substitution.
Message
From
27/10/2006 21:37:26
 
 
To
27/10/2006 08:48:56
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01164946
Message ID:
01165229
Views:
10
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
Map
View

Click here to load this message in the networking platform