Hint - Font size lazarus / 62-General ---------------------------------------------------------------------- J-G · 2022-05-10 16:31 Can this be modified? - either at design or run time. I can set the text of a [Hint] at design-time and modify it at Run- time but the 'default' is somewhat small so it would be useful to enlarge it. It wouldn't matter whether it was a global or local change though naturally local would be more flexible. ---------------------------------------------------------------------- Josh · 2022-05-10 17:43 in formcreate event add  Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i screen.Hint Font.Name:='arial';screen.HintFont.size:=16;screen.HintFont.Color:=clR ed; ---------------------------------------------------------------------- J-G · 2022-05-10 19:37 Thanks Josh  -  I'd been trying to do it by  [Object].hint.  ----  which would be 'local'.  I hadn't thought to look at 'screen. ....' Regrettably - it doesn't work  The options do appear in the .properties list so I can select .HintFont & .Size or .Color but the hints that I've already set up show no change (I haven't changed the 'name', just the size & colour). ---------------------------------------------------------------------- J-G · 2022-05-11 12:36 After some further research - still without success - I've now found that a TEdit has a [TextHint] Property (along with .color & .style) and I can set this at run-time but I still can't display the value set. The Object Inspector exposition includes the phrase "Hint only (and always if showhint = true) displays a baloontip when the mouse is over the control." showhint is set = true but I see no 'Baloontip' when the mouse is over the control  - - -  I do see the 'Hint' that is set in [Hint] of course  - - -  and my 'Logic' suggests that I'm missing something or there is an inbuilt conflict in having the two 'properties'. Solving this apparent paradox would not provide a total solution to my dilema though since the specific object that started my quest is a TLable which doesn't have a [TextHint] property. ---------------------------------------------------------------------- Zvoni · 2022-05-11 13:13 Found this: https://www.tweaking4all.com/forum/delphi-lazarus-free-pascal/lazarus- change-hint-font-fontsize-and-fontcolor/ https://stackoverflow.com/questions/11472874/setting-size-of-hint- window-thintwindow-in-delphi-lazarus ---------------------------------------------------------------------- wp · 2022-05-11 13:27 I wonder what you are doing. The Screen properties are not listed in the Object Inspector. Set them by code, for example in the OnCreate event of the form - see attachment. ---------------------------------------------------------------------- Zvoni · 2022-05-11 13:41 Quote from: J-G on May 11, 2022, 02:36:51 pmAfter some further research - still without success - I've now found that a TEdit has a [TextHint] Property (along with .color & .style) and I can set this at run-time but I still can't display the value set. The Object Inspector exposition includes the phrase "Hint only (and always if showhint = true) displays a baloontip when the mouse is over the control." showhint is set = true but I see no 'Baloontip' when the mouse is over the control  - - -  I do see the 'Hint' that is set in [Hint] of course  - - -  and my 'Logic' suggests that I'm missing something or there is an inbuilt conflict in having the two 'properties'. Solving this apparent paradox would not provide a total solution to my dilema though since the specific object that started my quest is a TLable which doesn't have a [TextHint] property. The "TextHint"-Property is not the Baloon-Tip (and has nothing to do with "ShowHint" either!) "TextHint" is the/a text shown inside the the TEDit as long as the TEDit is empty! Common "color" of that hint is light gray ---------------------------------------------------------------------- Josh · 2022-05-11 15:00 just a note from memory. Using the hint overide method only works on windows if you do not have windows manifest selected in project option. If i remember correctly J-G was using 1.6, so i cannot test the screen.hintfont method with that version. I have used the Screen.hintfont method before to increase the size, although to be honest it is best left alone, as if you start changing these you will get more users of your app complaining that you are not obeying the settings that they have set up in their environment. ---------------------------------------------------------------------- wp · 2022-05-11 15:29 You are right: In v1.6.4 the Screen.HintFont is not yet working, but in v1.8.4 it is. ---------------------------------------------------------------------- J-G · 2022-05-11 23:01 Quote from: Zvoni on May 11, 2022, 03:41:46 pmThe "TextHint"-Property is not the Baloon-Tip (and has nothing to do with "ShowHint" either!) "TextHint" is the/a text shown inside the the TEDit as long as the TEDit is empty! Common "color" of that hint is light gray You've confirmed my suspicions Zvoni  -  the exposition confused rather than enlightened me  Quote from: Josh on May 11, 2022, 05:00:09 pmIf i remember correctly J-G was using 1.6, so i cannot test the screen.hintfont method with that version. I have used the Screen.hintfont method before to increase the size, although to be honest it is best left alone, as if you start changing these you will get more users of your app complaining that you are not obeying the settings that they have set up in their environment.You are absolutely correct Josh (about 1.6). On that front, I have downloaded FPCUPdeluxe and have made three attempts to install 'Stable'. I do understand that it's not 'Instant' but after over an hour & a half it is still showing [Not Responding] with the Windows "I'm working" Circle still revolving. After setting my 'Install Directory', I've left the selections on the [Basic] screen at [Stable] in both cases. On the [Cross] Tab I've selected i386 & Windows then returned to the [Basic] screen and clicked 'FPC+Laz' Looking in the 'Install' Folder I do see 2 .ini files along with a .log & .en.po file.  After Clicking 'FPC+Laz' I see a 'warning' about open SSL library which is going to be downloaded. From past reports of how good FPCUPdeluxe is,  I wasn't expecting a problem