Form2 does not respond to ShowHint := False issued by code lazarus / 31-LCL ---------------------------------------------------------------------- Elmug · 2011-09-10 20:28 Good people, I would appreciate some feedback on whether this is so, or if there is something I need to correct in my learning project: There are the usual hints on some of the components,  on TWO forms. On the main form there is a checkbox that sets properties of Form1.ShowHint := TRUE (and also False) for BOTH Forms.  Statements are simple, just change the words Form1 to Form2 on repeated statements, right next to each other. Forms start both with showhint ON, and so do all components on both forms and the checkbox starts in state checked. The short story is: The check box correctly controls the show-hint property of Form1 but Form2 IGNORES the statements. There are no error messages of course when compiling since all works fine, except for this little issue: Form2 does not respond to ShowHint := False issued by code. Suggestions on what I might have wrong, or on work-arounds are appreciated. Thanks! ---------------------------------------------------------------------- Arbee · 2011-09-10 20:40 Do you by any chance set the initial showhint to true in the "onActivate" event? Because I guess that if you do that it will overwrite whatever you did in Form1 as soon as you activate form2. ---------------------------------------------------------------------- Elmug · 2011-09-10 21:06 Quote from: Arbee on September 10, 2011, 10:40:35 pmDo you by any chance set the initial showhint to true in the "onActivate" event? Because I guess that if you do that it will overwrite whatever you did in Form1 as soon as you activate form2. No, Arbee. This Hints on/off is a recent idea I tried, on an already working project. This is probably easy to verify, should anyone wish to try. Thanks! ---------------------------------------------------------------------- Arbee · 2011-09-11 13:37 Elmug, I tried with a very simple two form application and I do not see any problem.  Form2 reacts as expected to whatever is specified in Form1. ---------------------------------------------------------------------- Elmug · 2011-09-12 15:46 Quote from: Arbee on September 11, 2011, 03:37:20 pmElmug, I tried with a very simple two form application and I do not see any problem.  Form2 reacts as expected to whatever is specified in Form1. Thanks Arbee. I'll also make a new small test project and see if I can find the problem.