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 » U++ Library support » U++ Widgets - General questions or Mixed problems » Using a Button to load a window/form using Run. THISBACK syntax
Re: Using a Button to load a window/form using Run. THISBACK syntax [message #44353 is a reply to message #44352] Fri, 27 February 2015 23:23 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 1105
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Edward,

You should create instance of "Form1Dlg" and run it instead of "Form1":
GUI_APP_MAIN
{
	Form1Dlg().Run();   // ***** Displays Form 1 perfectly ****
	//Form2Dlg().Run();  // ***** Displays Form 2 perfectly ****
}


It seems you have unnecessary class "Form1". In this class you didin't define any implementation of "btnForm2" action. So, for me it seems that this is school mistake Wink

Sincerely,
Klugier


U++ - one framework to rule them all.

[Updated on: Fri, 27 February 2015 23:25]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: AK example and/or key_source bug?
Next Topic: Creating a hyperlink label
Goto Forum:
  


Current Time: Sat Aug 02 12:35:38 CEST 2025

Total time taken to generate the page: 0.10050 seconds