Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2001-12

"Hints"

10 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jarto Tarpio
to Luis R. Hilario: The "Hints" not they appear, but now with only passing the mouse (quickly or slowly) by…
Luis R. Hilario wrote
The "Hints" not they appear, but now with only passing the mouse (quickly or slowly) by the components Lazarus does not work.

That's because the previous fix only prevented the viewing of hints. However, the problem is in disabling and enabling the hinttimer in MouseMove. Here's a patch that fixes the HintTimer in main.pp too. Also add the patch I posted last friday and you shouldn't have any problems with the hints any more.

/jarto

cvs -z3 diff main.pp
Index: main.pp
=================================================
==================
RCS file: /FPC/CVS/projects/lazarus/main.pp,v
retrieving revision 1.187
diff -r1.187 main.pp
160c160
<
---

283a284

FHintCounter1: Integer;

825c826
<
---

HintTimer1.Enabled:=true;

5208c5209,5210
< HintTimer1.Enabled := False;
---

if FHintCounter1<3 then inc(FHintCounter1); if FHintCounter12 then exit;

5258c5260
< HintTimer1.Enabled := False;
---

FHintCounter1:=3;

5266c5268
< HintTimer1.Enabled := False;
---

FHintCounter1:=3;
5277,5278c5279,5282
<   HintTimer1.Enabled := False;
<   HintTimer1.Enabled := not ((ssLeft in Shift) or (ssRight in Shift)
or (ssMiddle in Shift));
---
if ((ssLeft in Shift) or (ssRight in Shift) or (ssMiddle in Shift)) then FHintCounter1:=3 else FHintCounter1:=0;

Reply by email

Mattias Gaertner
to Luis R. Hilario: I erased the code in Main.pp for the "Hints" and now Lazarus and KDE they function well…
I had a look at the hints in main.pp too. They were made the same way as in uniteditor.pp, which I fixed yesterday. Didn't see anyone committing the patch, though.

Shane will be back next tuesday.

I could fix the hints in main.pp also if you guys don't have any pronblems with the way I used.

I have to look at the hint implementation to decide it. The counter solution seems to hide a more serious problem with the hints. Shane will know. I suggest to wait till he is back.

Mattias

Reply by email

Luis R. Hilario

Hi,

I erased the code in Main.pp for the "Hints" and now Lazarus and KDE they function well (and the graphic system in general).

If the problem cannot be solved (for now), they would be able to put an option for activate/desactivar the "Hints" of the main menu?

|------------------------------| | Luis R. Hilario | | http://www.luis-digital.8m.com | |------------------------------| _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

Reply by email

Luis R. Hilario
to Jarto Tarpio: That's because the previous fix only prevented the viewing of hints. However, the problem…
Jarto Tarpio wrote 11 lines
Luis R. Hilario wrote: > The "Hints" not they appear, but now with only passing the mouse > (quickly or slowly) by the components Lazarus does not work. That's because the previous fix only prevented the viewing of hints. However, the problem is in disabling and enabling the hinttimer in MouseMove. Here's a patch that fixes the HintTimer in main.pp too. Also add the patch I posted last friday and you shouldn't have any problems with the hints any more.

We expect that Shane include this in the CVS.

|------------------------------| | Luis R. Hilario | | http://www.luis-digital.8m.com | |------------------------------| _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

Reply by email

Luis R. Hilario
to Luis R. Hilario: I erased the code in Main.pp for the "Hints" and now Lazarus and KDE they function well…
Mattias Gaertner wrote 14 lines
On Fri, 14 Dec 2001 21:43:48 -0300 "Luis R. Hilario" wrote: > Hi, > > I erased the code in Main.pp for the "Hints" and now Lazarus and KDE > they function well (and the graphic system in general). > > If the problem cannot be solved (for now), they would be able to put an > option for activate/desactivar the "Hints" of the main menu? I added two options to the environment->general options->desktop.

The "Hints" not they appear, but now with only passing the mouse (quickly or slowly) by the components Lazarus does not work.

|------------------------------| | Luis R. Hilario | | http://www.luis-digital.8m.com | |------------------------------| _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

Reply by email

Mattias Gaertner
to Luis R. Hilario: I erased the code in Main.pp for the "Hints" and now Lazarus and KDE they function well…
Show quoted text 12 lines
On Fri, 14 Dec 2001 21:43:48 -0300 "Luis R. Hilario" wrote: > Hi, > > I erased the code in Main.pp for the "Hints" and now Lazarus and KDE > they function well (and the graphic system in general). > > If the problem cannot be solved (for now), they would be able to put an > option for activate/desactivar the "Hints" of the main menu? I will do this.

... as soon as I got the IP adresse of cvs.freepascal.org.

DNS does not know it any longer?
What happened?

Mattias

Reply by email

Mattias Gaertner
to Luis R. Hilario: I erased the code in Main.pp for the "Hints" and now Lazarus and KDE they function well…
Show quoted text 7 lines
Hi, I erased the code in Main.pp for the "Hints" and now Lazarus and KDE they function well (and the graphic system in general). If the problem cannot be solved (for now), they would be able to put an option for activate/desactivar the "Hints" of the main menu?

I added two options to the environment->general options->desktop.

Mattias

Reply by email