Discussions related to Visual Prolog
User avatar
Ferenc Nagy
VIP Member
Posts: 215
Joined: 24 Apr 2007 12:26

Bad code generated for tooltiptext

Unread post 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?
TIA, Regards,
Frank Nagy
User avatar
Thomas Linder Puls
VIP Member
Posts: 1398
Joined: 28 Feb 2000 0:01

Unread post 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).
Regards Thomas Linder Puls
PDC
User avatar
Ferenc Nagy
VIP Member
Posts: 215
Joined: 24 Apr 2007 12:26

I cannot get rid of tooltiptext

Unread post 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.
TIA, Regards,
Frank Nagy
User avatar
Thomas Linder Puls
VIP Member
Posts: 1398
Joined: 28 Feb 2000 0:01

Unread post 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")).
Regards Thomas Linder Puls
PDC
Post Reply