Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form (in top level form) doesn't appear when debugger active
Message
From
15/02/2011 10:07:43
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Form (in top level form) doesn't appear when debugger active
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01500245
Message ID:
01500245
Views:
190
I am working with Top Level forms for the first time. The following code is called from a button on a form, form a where showwindow is 1 - in top level form. Also, I just realized now, as I was writing this, that "form a" is modal. If set step is on, upon executing newobject, the debugger goes to the first init of the first object and executes it, then returns, then executes the following lines of code, but form b never becomes visible. If I take out the set step on, everything executes just fine.




SET STEP ON
thisform.l_filter_was_called=.t.
*DO FORM forms\form-b TO x
thisform.ofilterform=NEWOBJECT("data_filters","data_filters")
thisform.ofilterform.filter_controls[1,1]="curdata"
thisform.ofilterform.filter_controls[1,2]="curdataunfiltered"
thisform.ofilterform.filter_controls[1,3]="accountnam"

thisform.ofilterform.show(2)
Next
Reply
Map
View

Click here to load this message in the networking platform