U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Extend StaticText with method possible?
Re: Extend StaticText with method possible? [message #34409 is a reply to message #34405] Mon, 21 November 2011 02:01 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Wolfgang wrote on Sun, 20 November 2011 14:22

Hi,

is it possible to extend the methods of a StaticText widget to have additional to the "SetText(const char *text)" a method that ADDS text instead of resetting it?

AddText for example.... "AddText(cont char *text)", can you tell me how to extend it, if possible? (I'm really sure it is possible)

Thank you!



Why not just use

lbl.SetText(lbl.GetText() + add);

?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: assection failed error while opening /dev/rtp0 on ubuntu
Next Topic: Complex numbers..How to use in upp??
Goto Forum:
  


Current Time: Wed Sep 30 08:56:36 GMT+2 2026

Total time taken to generate the page: 0.10147 seconds