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 » Touchscreen and buttons
Re: Touchscreen and buttons [message #48609 is a reply to message #48608] Tue, 08 August 2017 14:16 Go to previous messageGo to previous message
Giorgio is currently offline  Giorgio
Messages: 218
Registered: August 2015
Experienced Member
Hi rafiwui,
thanks for the prompt answer.

The buttons "cancel" and "ok" are defined in the .lay file.

Using Close as you suggested compiles and runs, but the application does not works as intended. A little bit of a context. When launched, GUI_APP_MAIN creates and launches an instance of a class (HomeScreen) that manages and creates the main window of the application. The HomeScreen class, before launching the main window, displays a window (ListOp) asking what is the user that is working. This ListOp windows is the one that has the ok and cancel buttons. In the old scenario, after the user selected the operator and hit ok, the main window was created. Now, if I add the instrucrion ok.WhenPush = THISBACK(Close) the application ends. On the shell from which I launched the application I read "terminate called after throwing an instance of 'Upp::ExitExc'". Does that mean that I have to invoke another method instead of Close?
Thanks,
Gio
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Hey,need help,i met a problem
Next Topic: Auto-Resize
Goto Forum:
  


Current Time: Sun Jun 29 17:19:30 CEST 2025

Total time taken to generate the page: 0.03626 seconds