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 » edit field in sub menu
edit field in sub menu [message #37493] Thu, 11 October 2012 02:26 Go to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
Can an edit field be added to a sub menu and if so how.

	void SettingsMenu(Bar& bar) {
		bar.Add("m meters", THISBACK(Setm)).Check(mX);
		bar.Add("km kilometers", THISBACK(Setkm)).Check(kmX);
		bar.Add("ft feet", THISBACK(Setft)).Check(ftX);

There are about a dozen more.


I would a user to be able to set a time zone relative to UTC.
I have it hard coded -7 for the Pacific TZ.

Rather than have a box pop up where a user types in his TZ relative to UTC just have an edit field it can be typed in.

If not then maybe just a scroll box where -11 to +11 can be picked.

[Updated on: Thu, 11 October 2012 02:27]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [HttpRequest] undefined identifier
Next Topic: Dont underline letters in buttons
Goto Forum:
  


Current Time: Sat May 11 11:27:36 CEST 2024

Total time taken to generate the page: 0.03659 seconds