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 » Community » Newbie corner » Spin + Text
Re: Spin + Text [message #39852 is a reply to message #39849] Tue, 07 May 2013 01:21 Go to previous messageGo to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
Hello, Jerson.
jerson wrote on Mon, 06 May 2013 14:56

I am looking to make a combination of a widget that houses a label with spin buttons. The intention is to use the spin buttons to change the text displayed in the widget from an array of texts

I created following example, based on SpinButtons and EditString classes, which may solve what you looking for:
Toggle Spoiler

index.php?t=getfile&id=4174&private=0

Where instead of EditString you might use StaticText or Label with NoIgnoreMouse(); and SetFrame(FieldFrame()); into constructor, but they will look a bit differently, than other Edit*Spin widgets.

Edit: Added GetValue methods. Changed some checks to ASSERT.

[Updated on: Tue, 07 May 2013 05:48]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Socket Communication 101
Next Topic: MenuBar
Goto Forum:
  


Current Time: Fri Jul 18 03:46:34 CEST 2025

Total time taken to generate the page: 0.05381 seconds