>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement