Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I create a new VCX of subclasses programatically
Message
De
01/10/1998 17:16:09
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00142974
Message ID:
00143044
Vues:
25
>Fred,
>
>Something is forcing focus to the prop sheet for you, I have no idea what would do that. You could also test wontop() to see if it was "Properties" or do something like activate window "CLASS DESIGNER - CLONE.VCX (X1)" with a nowait clause on the create class. If you close the CD with the prop sheet off it shouldn't start the next time with it visible.

My property sheet comes up having the focus. However, you are correct that once the property sheet is closed it remains closed the next time you bring up the CD. Thanks to you and John K., I do have a workable solution.


CREATE CLASS...NOWAIT
ACTIVATE WINDOW "Class Designer"
KEYBOARD...


>
>>Mine closes the property sheet. ('95 & VFP5) I'm FOREVER doing that myself from the keyboard.
>>
>>I may have to do it in code, but I was looking for the easy way out. Us programmers are basically a lazy lot. After all, that's what the computer is for, to do the actual WORK! < BG >
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform