Home » U++ TheIDE » U++ TheIDE: Layout (Forms)  Designer » can't use SetLabel and Tip for Option (only one or the other)  
	
		
		
			| Re: can't use SetLabel and Tip for Option (only one or the other) [message #9705 is a reply to message #9703] | 
			Fri, 25 May 2007 21:32    | 
		 
		
			
				
				
				
					
						  
						obijohn
						 Messages: 11 Registered: May 2007 
						
					 | 
					Promising Member  | 
					 | 
		 
		 
	 | 
 
	
		I've looked at the .lay file, and for my test case (attached above) this is what it looks like: 
LAYOUT(testLayout, 232, 148)
	ITEM(Option, optCheck, Tip(t_("Remove this tip from the layout to compile")).SetLabel(t_("Check Me")).LeftPosZ(72, 84).TopPosZ(64, 20))
END_LAYOUT
 
 
Now, if I swap the order of Tip and SetLable to this: 
LAYOUT(testLayout, 232, 148)
	ITEM(Option, optCheck, SetLabel(t_("Check Me")).Tip(t_("Remove this tip from the layout to compile")).LeftPosZ(72, 84).TopPosZ(64, 20))
END_LAYOUT
 
 
it compiles without error and works as expected. I have no experience with the upp source, so I'm not even sure where to begin looking to fix this.
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
  
 
Goto Forum:
 
 Current Time: Tue Nov 04 09:11:07 CET 2025 
 Total time taken to generate the page: 0.03964 seconds 
 |