Greetings All,
Attempting to enable and disable all text boxes in a page frame once the user selects the edit or add button. Here is the code I have in my form method:
DISABLEALL Method:
FOR I = 1 TO THISFORM.CONTROLCOUNT
IF UPPER(THISFORM.CONTROLS(I).NAME) = [TXT_]
THISFORM.CONTROLS(I).ENABLED = .F.
ENDIF
ENDFOR
But it's not going through those textboxes that are listed throughout the 4 pages of the pageframe. the enableall method is quite naturally the opposite, setting enabled to .T.
How do I set all the controls on the pages of the pageframe?
Thanks in Advance.
J. Turner