Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top Level Form needs focus..
Message
De
01/09/2000 12:23:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00411754
Message ID:
00411794
Vues:
12
>>Hi Folks,
>>
>>Say, when I create a simple project with a launching PRG calling a Top Level form after the form launches it appears to not have focus.
>>
>>That is, the top bar is grey as opposed to the blue I normally see when an object has Windows focus.
>>
>>I have a _screen.visible = .f. in the PRG as well.
>>
>>I'm trying to see if this is a bug or what might be required to make the form have focus when launched from a shortcut.
>>
>>I've dug around a bit looking for a mention of this and can't find any FAQ or anything on it.
>>
>>Best,
>>
>DD,
>
>I seem to recall having a similar problem some time ago, but I don't remember what I did that was really the fix. I do know that in my SDI apps, the lines right before the READ EVENTS look something like this:
DO FORM SomeForm.scx NAME oForm LINKED
>oForm.Show()
>oForm.Activate
I think that the Show() may not be necessary. It shouldn't be. I may have originally thrown that at the problem, then added Activate when it didn't do the job. Frankly, I can't remember. At any rate, my SDI apps don't display the sort of behavior you're describing, so it's worth a shot.
>
>Actually, if only part or all of this combination solves this, if you'd report back what's what, I'd appreicate it.

George,

Will do. You've given me a couple of ideas to work with and I appreciate it.

Best,

DD
Best,


DD

A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform