Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does nobody know how to solve it?
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00186270
Message ID:
00187480
Views:
22
>I've solved most of my problems using UT, but there is one that seems nobody will solve.
>
>I have a application that has allways a form (form1) active. From this form I call others one. Each form is modal and alwaysontop = .t.
>sometimes when one of the forms is called from form1 it show the form but i does no have the focus (For example form2).
>
>form2 looks to be the active form but focus is on form1.

I'm doing something very similar to what you are doing calling both modal and non-modal forms. The difference is form 1 (my main menu) hides whenever there is another form instantiated. I wrote a little code that checks _screen.formcount and _screen.forms(i).name ...
I make form 1 (MENUFORM) visible only when it is the only form _screen.formcount = 1 and _screen.forms(1).name == 'MENUFORM'

NOTE: I have two customers that can't use this. Both are Gateway's with the same video card on the motherboard. P133 and a P100 I think. No other users fail or report any problems.

Robert
Previous
Reply
Map
View

Click here to load this message in the networking platform