Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PEMSTATUS( )
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00258341
Message ID:
00258356
Views:
11
>Hi,
> How could I check are there any textbox in my form using PEMSTATUS? Or any others ways?
> What does cobject mean in 2nd parameter of this function?
>
>Thank you
You could scan through all the controls on a for by making a form method with this code:
nContCount = thisform.ControlCount
bPass = .f.
for i = 1 to nContCount
if thisform.Controls(i).Baseclass = 'Textbox'
bPass = .t.
EXIT
endif
endfor
RETURN bPass

Bill
Bill Mittenzwey
Previous
Reply
Map
View

Click here to load this message in the networking platform