Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top level form does not get the focus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00627628
Message ID:
00628081
Vues:
18
>>>Hi George,
>>>
>>>May I ask you a little bit unrelated question? I got a project to finish, which starts with Login form. The form has focus, but I don't see a cursor in a textboxes (login and password). I've searched the project for SET CURSOR OFF setting, but didn't find it. What else may cause the cursor to disappear in textboxes?
>>>
>>>Thanks a lot in advance.
>>
>>Is the login dialog within the confines of the _SCREEN? And is the test platform Win2K Pro? With the latter, I've noticed that simply switching to a given application may not appropriately set the focus to it. I've encountered cases where, when I start typing, I get a "ding" (as if a bell) sound. I then need to click on the desired application in order to get it to receive the focus properly.
>
>Hi George,
>
>I'm testing on Windows 95 machine. Screen is on and the form is Fixed Dialog in Top-Level Form. The whole project looks like a nightmare... The original developer seems to just start with VFP and gets a taste of OOP. This project has more than 20 class libraries, one of them is Set_Utils.vcx with classes for each possible VFP setting. Each class has almost the same code in its Init method, I don't see a reason for all of them...

Try the default setting (In-Screen) and see if that doesn't help.

Sounds like someone was trying to get a taste of OOP. In reality, having one class to do this isn't that bad an idea, especially if private data sessions are being used because of the number of settings that are scoped to the datasession. However, doing it more than once, is a bad idea, and IMV, lumping those commands that aren't scoped to the datasession with those that are is probably worse.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform