Home » Community » Newbie corner » edit field in sub menu
Re: edit field in sub menu [message #37501 is a reply to message #37500] |
Thu, 11 October 2012 20:00   |
|
nlneilson wrote on Thu, 11 October 2012 18:24 | Widget placement, size, etc. yes.
|
Something like this should work:
EditString edit;
void Menu(Bar& bar) {
bar.Add(edit.SizePos(),50);
bar.Add("Exit", THISBACK(Exit));
}
Best regards,
Honza
EDIT: Added full source in attachment.
-
Attachment: main.cpp
(Size: 0.52KB, Downloaded 225 times)
[Updated on: Thu, 11 October 2012 20:02] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Jul 18 03:38:58 CEST 2025
Total time taken to generate the page: 0.03103 seconds
|