Page 1 of 1

Bad code generated for tooltiptext

Posted: 12 Jun 2014 18:32
by Ferenc Nagy
Hi,
The code generated for tooltip and tooltiptext contains error.

Code: Select all

new_title_edt:toolTip := core::some(),         new_title_edt:tooltipText := toolTip::Internal identifier of the loaded settings,

Are quotation marks missing around the text?

Posted: 14 Jun 2014 20:00
by Thomas Linder Puls
You can for example set the toolTipText to tip("This is a tool tip"), but I think it is easier to set tooltips directly in the code (i.e. rather than using the property editor).

I cannot get rid of tooltiptext

Posted: 17 Jul 2014 9:24
by Ferenc Nagy
I have committed the error to set tooltiptext in the property editor for two controls. I deleted them in vain. Empty string remained. I have to manually correct two lines in the automatically generated lines after each refreshment of the automatic code.

Posted: 20 Jul 2014 11:15
by Thomas Linder Puls
You should either set the value back to <default>, or set it to a suitable term (e.g. tip("My Tip")).