I'v a problem again. I use StaticText class to creat my texts and I can create them, but I want to include some variable values that come from my calculation function. Example my sentence is " My calculation is ...... "
I use :
MyText -> setText( " My calculation is ...... " )
I want to instead of dotted line with my caculation values. What I should do? Could anyone help me, please? Thanks so much.
Problem about StaticText
Moderators: CEGUI MVP, CEGUI Team
- martignasse
- Just can't stay away

- Posts: 227
- Joined: Thu Apr 14, 2005 08:10
- Location: Lyon, FRANCE
Re: Problem about StaticText
hi,
You should construct the string by yourself, and update the statictext every time it's necessary(everytime you'r calculation result change).
That said, there is may way to achieve this, depending of you'r specific need.
hope it help.
You should construct the string by yourself, and update the statictext every time it's necessary(everytime you'r calculation result change).
That said, there is may way to achieve this, depending of you'r specific need.
hope it help.
Re: Problem about StaticText
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 8 guests
