Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controls to display ToolTip in statusbar class textbox
Message
 
To
23/02/2006 09:16:03
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01098413
Message ID:
01098782
Views:
13
Hi Cetin

>Thisform.SetAll('__statbartip',this.ToolTiptext)
>
>* StatBar has __statbartip property with assign method that assigns text to the relevant panel's text.

I am sorry but I just found it hard to follow. My understanding is as follows:

I have this status bar class, it has a textbox in it to display messages. This Status bar class also has a property named __statbartip and a method named __statbartip_assign which will but the text to the textbox. Now I put the call to thisform.setall() in the gotfocus of my controls?

In the mean time I did this in a bit of a round about manner. The first form class iForm I put in a method DisplayStatusText() with a parmater tcMsg. My dataentry form subclass which also has a statusbar class on it I put in a thisform.statbar.cstatbartext = tcMsg. The status bar class in turn has an assign for the property cstatbartext_assign() which in turn does a refresh and the status bar displays the text.

In the same vein as your suggestion, I can edit the iForm.DisplayStatusBarText() method to do the thisform.setall() and I guess I will not be required to override the function in my data-entry form class. Or should I let it be now that the logic has been implemented, is there some enhancements possible in my logic?
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform