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?