General information
Category:
Coding, syntax & commands
Title:
_screen.activeform don´t work in load event
Hello to all
I put this code in the load event of a form:
if _screen.formcount>1
_screen.activeform.windowstate=1
endif
This is because I want to minimize any open form when I load another.
VFP says that _screen.activeform isn´t an object but he evaluate _screen.formcount right.
If anyone can tell me what is the mistake please do it.
Thanks
Pedro
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only