Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LeadTools with VFP Modal Form
Message
 
 
To
01/10/2001 11:48:21
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00562604
Message ID:
00564789
Views:
16
>Problem: When the Modal property of a VFP (version 5.0 or 7.0) form with a LeadTools (version 5 or 12) ocx object is changed to TRUE and the form is called by another form, the form with the LeadTools object will not show. But the form is shown at the bottom of the Window menu and it has to be clicked to appear on the screen. Tried setting _VFP.AutoYield to FAULSE and saw no effects. Any clues?

Alan,
While I don't know what's actually causing the problem (and I don't have LeadTools' object to place with), you could check out the entry on SetForegroundWindow in the WinAPI section. You could put a call to the function in the Activate event of the modal form and see what happens.

If you need a handle to the form in VFP 5, you could use Foxtools.Fll to get it. In VFP 7, just use the new HWnd property.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform