Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 14267
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: Sat Aug 02 21:38:42 CEST 2025

Total time taken to generate the page: 0.10465 seconds