Combobox tooltiptext question
Combobox tooltiptext question
(OP)
Hi,
It is possible to display a different font than the default font to the tooltiptext content ?
example i have this code in the combobox init,i would like the text below the line "TEXT TO lcText NOSHOW" to be shown in a little big in size and bold", it is anything that can accomplish it ?
Thanks in advance
It is possible to display a different font than the default font to the tooltiptext content ?
example i have this code in the combobox init,i would like the text below the line "TEXT TO lcText NOSHOW" to be shown in a little big in size and bold", it is anything that can accomplish it ?
Thanks in advance
CODE -->
LOCAL lcText TEXT TO lcText NOSHOW Non serial#s Meaning 89736 = R&D 89741 = Misc Assembly 89744 = Sample print 89760 = Ptod 13100 = Standards 60400 = Jury Duty 60500 = Holiday 60600 = Bereavement 65600 = Maintenance ENDTEXT this.ToolTipText = m.lcText
RE: Combobox tooltiptext question
Regards
ing
Griff
Keep
I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.
RE: Combobox tooltiptext question
I'm not familiar with Griff's solution, but it would be worth your following it up.
That said, my understanding is that it is only possible to change the tooltip font at the Windows level. How you do that depends on which version of Windows you are using. In general, you would go to Control Panel, open Display properties, then go to Appearance or Change Settings or something similar, and then look for Advanced Appearance. You should then see a setting for Tooltips that lets you specify the font, font size, style, foreground colour and background colour (again, these details might vary with the Windows version).
However, keep in mind that these are system-wide settings. I don't know if they can be changed programmatically, but in any case it would not be considered desirable to do so. The Display settings are the user's personal choice, and it is not the job of application programs to override that.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Visual FoxPro articles, tips and downloads
RE: Combobox tooltiptext question
RE: Combobox tooltiptext question
I use this approach myself. I described it in a little more detail in the post dated 7 Jan 18 15:44 in thread184-1783448: Form Class.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Visual FoxPro articles, tips and downloads
RE: Combobox tooltiptext question
The 3007 function seems to refer to the 'script' of the tooltip font - European, Cryllic, Hebrew stuff like that, but it made no difference on
my machine anyway!
Regards
ing
Griff
Keep
I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.
RE: Combobox tooltiptext question