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 » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » How to call the methods of a class from another class
Re: How to call the methods of a class from another class [message #2289 is a reply to message #2283] Wed, 05 April 2006 21:12 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
fudadmin wrote on Wed, 05 April 2006 19:16

And remember you interact with class instances not classes!!!


Embarassed Oh my God, how criminal I am.

As 'dead things' are concerned at the end I resolved the problem! Very Happy
It was necessary to move all the class definition in the top of the cpp file and sort them in a good manner (there were 4 classes, and the Murphy law say that the good permutation will be only the last one. In fact it was necessary many trials before to found the good one). When I got the solution I've understood why it was so.
Then I've defined a global class instance

App app;

and pronunciate the magic word

GUI_APP_MAIN
{  
  app.Title("Menu, Tabs and Status -v1").Zoomable().Sizeable().Run();
}


For today it is enough. Tomorrow I hope to do a new mistake not less interesting.

Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: "Forlano tabs" - fill EditFields from ArrayCtrl Row...
Next Topic: How to create a modal dialog
Goto Forum:
  


Current Time: Fri May 17 00:14:21 CEST 2024

Total time taken to generate the page: 0.01168 seconds