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! » "Forlano tabs" - how to reduce a headache by the proper use of the designer...
Re: "Forlano tabs" - how to reduce a headache by the proper use of the designer... [message #2167 is a reply to message #2163] Sun, 02 April 2006 19:58 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
forlano wrote on Sun, 02 April 2006 17:51


...
It is very easy. Only one stupid problem. I used
1. #define "editmask.lay"

but the compiler didn't see it. So I tried
2. #define LAYOUTFILE <tabs/Tab1Layout.lay>

with no result. At the end I tried
#define LAYOUTFILE "c:\MyApps\tabs\editmask.lay"

and works. Do you know how to fix this problem?
Luigi


1. as you should know from C experience #define is a substitutor.
If you write only on part of it, it your compiler replaces it with nothing. This is useful only in #ifdefs or if you want to not use what you define... Smile

2. This has to be the name of your layout file and of your widget layout

3. It is sufficient to write just
#define LAYOUTFILE "editmask.lay"
if you keep this file in your package folder where other files reside e.g in c:\MyApps\tabs\ ...Smile

forlano wrote on Sun, 02 April 2006 17:51


Fantastic... Shocked


...And remember I told you - do not struggle alone and do it in a lazy man's way? When you wrote in our label topic:
Quote:


but I'm a lazy man, Embarassed , and I do not want to loose time...


And then in this topic you wrote:
Quote:

...I lost many hours to wright it and I'm not at all satisfact. Now I must retouch some widget with the result to retouch again all their position. Sad

That means you are not lazy enough... Laughing ... to be an inventor... Wink
I guess Mirek and Tom are lazy enough... Smile That's why they invented Ultimate++... to let us all enjoy our laziness!
So, from now on, if you feel that some tasks with Ultimate++ are not enjoyable - ask how they can be converted... Smile
 
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
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
Read Message
Read Message
Read Message
Previous Topic: How to combine two widget-class in the topwindow
Next Topic: Getting data in a row of ArrCtrl
Goto Forum:
  


Current Time: Sun Jul 06 04:49:59 CEST 2025

Total time taken to generate the page: 0.03712 seconds