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 » Changing EditFields from header files
Re: Changing EditFields from header files [message #38105 is a reply to message #38104] Fri, 30 November 2012 21:21 Go to previous messageGo to previous message
navi is currently offline  navi
Messages: 107
Registered: February 2012
Location: Sydney, Australia
Experienced Member
nlneilson wrote on Fri, 30 November 2012 18:35

nuvi,

In a thread it could be:
a.Set_t1("H2 OK");
Sleep(1000);
a.Set_t1("H2 OK");
Sleep(1000);
...


I dont know if u r talking about U++ Thread class or not. if its U++ threads, then it is suggested not to change GUI from threads without proper care, GUI_Lock and PostCallback(). as chenging GUI from threads otherwise will end up in Gui Deadlock.

See the follwoings in example section:
GuiLock : This package demonstrates the use of Ctrl::Lock in MT applications
GuiMT : Using event queue for communication between worker threads and GUI

Quote:


The String in a.Set_t1("H2 OK"); would actually be a GPS NMEA sentence.
Fine except if it cannot be run in U++ Debug then it's a NoGo.



dont know what u mean.

[Updated on: Fri, 30 November 2012 22:02]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: hiding the vertical scrollbar of LineEdit Ctrl
Next Topic: Buttons in Array using ArrayCtrl
Goto Forum:
  


Current Time: Sat May 03 14:46:21 CEST 2025

Total time taken to generate the page: 0.02830 seconds