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 » Getting the value/text from a EditField (getting values from an editfield)
Re: Getting the value/text from a EditField [message #59879 is a reply to message #59878] Tue, 16 May 2023 17:15 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1215
Registered: August 2007
Senior Contributor
Hi,

A simple example:

#include <CtrlLib/CtrlLib.h>

using namespace Upp;

GUI_APP_MAIN
{
	EditField edit;
	edit.WhenEnter = [&edit] { String s = ~edit; PromptOK("The text is " + s); };
	TopWindow w;
	w.Add(edit.HCenterPosZ(400).VCenterPosZ());
	w.Run();
}



Best regards,
Oblivion


[Updated on: Tue, 16 May 2023 17:17]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: Is there a way to get desktop mouse coordinates?
Next Topic: Pdf parser/viewer
Goto Forum:
  


Current Time: Fri Jul 18 10:45:19 CEST 2025

Total time taken to generate the page: 0.03709 seconds