Code: Select all
Procedure clearAddMemberGadgets()
For x = #addFirstName To #addDeptNotes
SetGadgetText(x,"")
Next x
EndProcedure
Then I tried doing a loop from the first StringGadget to the StringGadget immediately prior to the “Read Only” gadget. Then another loop from the StringGadget immediately following the “Read Only” gadget, essentially skipping over the “Read Only” gadget.
Code: Select all
Procedure clearAddMemberGadgets()
For x = #addFirstName To #addDeptNotes
SetGadgetText(x,"")
Next x
For x = #addPostalCode To #addDeptNotes
SetGadgetText(x,"")
Next x
EndProcedure
I tried using ClearGadgetItems but again the “Read Only” gadget clears as well.
Any suggestions on how this can be done?