Home » Community » Newbie corner » Problems when using layouts  
	
		
		
			| Re: Problems when using layouts [message #27158 is a reply to message #27157] | 
			Tue, 29 June 2010 01:46    | 
		 
		
			| 
				
	 | 
 
	
		In attachment - working code. 
If you have tool for compare source file - compare line by line 
 
Some comments: 
 
In C++ isolation - by modules, because combine header files and combine layout files OR split header files and split layout files. 
(I split dialogo and main window into different files) 
 
Use Button variable name ok - and change from CtrlLayout to CtrlLayoutOK - logic of work added automaticaly. 
(I change variable name from Cerrar to ok - and method Close is gone...) 
 
Don't forget add 
#define LAYOUTFILE <prueba/dialogo.lay>
#include <CtrlCore/lay.h>   for every dialog  
and for every class.
		
		
  SergeyNikitin<U++>( linux, wine ) 
{ 
        under( Ubuntu || Debian || Raspbian ); 
}
		
 |  
	| 
		
	 | 
 
 
 |  
  
 
Goto Forum:
 
 Current Time: Tue Nov 04 02:42:49 CET 2025 
 Total time taken to generate the page: 0.04296 seconds 
 |