Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
YACC Calendar focus show the form
Message
From
12/08/1996 16:12:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
YACC Calendar focus show the form
Miscellaneous
Thread ID:
00005610
Message ID:
00005610
Views:
90
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
Reply
Map
View

Click here to load this message in the networking platform