Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nobody uses control arrays???
Message
 
To
18/11/1996 16:04:59
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00012312
Message ID:
00012728
Views:
46
> > >> > >>Thanks, Dave! At least I know now where to look for the answer :) > > > >You are probably talking about the 'controls' property of the form that is an array and that can be used as you describe. > > > >Marc > > No, .Controls property is just what it is. I was looking for something > else. But thanks anyway :) Robert, Excuse me for insisting, but you could for example clear all the texboxes, or en/disable them, using this array:
for x= 1 to thisform.controlcount
	if upper(thisform.controls[x].baseclass)='txtbox'
		thisforms.controls[x].value= ''
	endif
endfor
And if you add properties to abstract classes you could call them as well. Now how is that for polymorphism? Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform