Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
YACC Calendar focus show the form
Message
De
12/08/1996 16:12:45
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
YACC Calendar focus show the form
Divers
Thread ID:
00005610
Message ID:
00005610
Vues:
86
In the YACC Calendar class, there is a method that is called at the end of the Init() event. SetupDisplay is called and at the end of this method there is a SetFocus() on the current day.

The problem is that SetFocus() will force the form to be displayed. At this time, I don't want to form to be displayed because I need to run my form Init() first. So, because the form Init() is run after, the form is already shown on the screen and this is not what I want.

So, what I've done right now is to put the SetFocus() in comment but this results in showing the focus on day 1st even if the current day is shown in red.

I tried to modify thing in this method to avoid this but I was unable to find a workaround.

If someone is using this class and know how to do it, it will greatly be appreciated.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Répondre
Fil
Voir

Click here to load this message in the networking platform