Hi,
Labels don't have a Refresh() method by default, that's true. Why don't you just add a Refresh() method and an assign method to your base class label's Caption property that will call the label's refresh? It seems like a simple enough solution to the problem and it keeps the code encapsulated within the label. Now, each time you assign a new caption to the label you should just see it. The code might look something like this:
PROCEDURE Caption_Assign
LPARAMETERS vNewVal
WITH This
.Caption = m.vNewVal
.Refresh()
ENDWITH
ENDPROC
PROCEDURE Refresh
REFRESH This
ENDPROC
I hope this helps.
Gregg
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only