NetTalk Central

Author Topic: Header tooltip in a browse  (Read 2739 times)

Koen Tjoa

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • Email
Header tooltip in a browse
« on: October 25, 2011, 05:15:57 AM »
When I add new column the Header Tooltip field is filled with 'Click here to sort by <Dictionary Column Description>' by default from the template code. However:

  • Sometimes the Dictionary Column Description isn’t the right description for the actual situation. Even if the dictionary setting is correct on other situations.  Is it someway possible to have a template setting to let Tooltip default to the Header field, which is just above it? So if I change that one, the description will be the same for the tooltip.
  • So far I didn’t found yet where I can set a translation for 'Click here to sort by' in the template options, it is a fixed string in the NetWeb.tpw file. Furthermore in the generated code it is not surrounded by p_web.Translate('…'). So I am forced either to translate the string for each column at design time or modify the NetWeb.tpw file. Is it possible to have an option to translate this partial string like it is possible for the locaters etc?
« Last Edit: October 25, 2011, 05:22:28 AM by KoenT »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Header tooltip in a browse
« Reply #1 on: October 25, 2011, 07:39:54 AM »
>>   Sometimes the Dictionary Column Description isn’t the right description for the actual situation. Even if the dictionary setting is correct on other situations.  Is it someway possible to have a template setting to let Tooltip default to the Header field, which is just above it? So if I change that one, the description will be the same for the tooltip.

I'm not sure I understand what you mean. I think there's already a template option where you can set the tooltip of a coulmn header to whatever you like. Sure it's getting the default from the dictionary, but after that you can set it to anything you like.

<<  So far I didn’t found yet where I can set a translation for 'Click here to sort by' in the template options, it is a fixed string in the NetWeb.tpw file. Furthermore in the generated code it is not surrounded by p_web.Translate('…'). So I am forced either to translate the string for each column at design time or modify the NetWeb.tpw file. Is it possible to have an option to translate this partial string like it is possible for the locaters etc?

I've added that to the list for NT6.

Cheers
Bruce

Koen Tjoa

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • Email
Re: Header tooltip in a browse
« Reply #2 on: October 31, 2011, 08:13:29 AM »
What I meant was: Is it possible to have the entry “Header” leading instead of the default of the dictionary. In that way if one changes that field, the entry “Header Tooltip” changes accordingly.
However, this is a very low priority thing.

The translation is more important, but we will see in NT6.