Hi all
I have a statusbar class which has a textbox for display purposes. I want my controls to display the tooltip as the value for the textbox in the statusbar, when the control getfocus() and remove the same when lostfocus().
That per se is simple, but the complication start when not all forms have statusbar class, only the data-entry form class has the statusbar, but the controls are common and used throughout the application. I know I can do a type() to find out the statusbar exists or not but that leads to an if condition and a VFP function call.
Any efficient method to do this?