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:
00628103
Vues:
28
>>>>
>>>>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.
>>
>>Hi George,
>>
>>I've re-started VFP and now the cursor appears just fine. Weird! As for the project and usage of classes, I guess, it almost impossible to understand this project and the necessety of all these classes (I think, most of them should be just removed, but it means, what the project's code should be changed as well). I got this project to just add some functionality, which it currently lacks, but I think, I need to understand the project first. However, it seems like a titanic task and with no value... :(
>>
>>I agree, what one class, which would save every setting and restore it at the end would be nice, however, it should not be spreaded between 30+ classes, it should be just one class...
>
>
>Nadya;
>
>There is a very well known developer who went to a company and created one class library. What was unique about that library is that it had over 200 objects in it. Attempting to work with this “library” was one great pain. There is a balance between the number of libraries and number of objects contained in them that should be considered. :)
>
>Tom

I would try to implement DeviceIoControl() on this developer! :) Seriously somebody should look at this project to feel my pain...
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform