U++ framework
Do not panic. Ask here before giving up.

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 Go to previous messageGo to previous message
obijohn is currently offline  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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: "Visual Inheritance" possible?
Next Topic: Wrong behaviour when switching from text to graphical mode [BUG]
Goto Forum:
  


Current Time: Tue May 05 16:00:04 GMT+2 2026

Total time taken to generate the page: 0.01078 seconds