>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