Autor Beitrag
Tpercon
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 60



BeitragVerfasst: Do 27.06.02 15:57 
Wie kann ich Hints üer einen Eintrag im PopUp Menü anzeigen lassen? Der Hint soll nicht in der Statusbar oder so angezeigt werden, sondern über dem Eintrag, so wie z.B. der IE das bei den Favoriten macht.

Gruß
Arakis
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 344



BeitragVerfasst: Do 27.06.02 17:58 
Das Problem hatten wir glaube ich schon irgendwo mal :mrgreen:
Jedenfalls gibt es nirgendwo die Eigenschaft showhint.

Bis dann
user defined image

_________________
Mit dem Computer löst man Probleme, die man ohne ihn nicht hätte.
Entwickler von SpaceTrek: The New Empire - Siehe Hompage!
Tpercon Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 60



BeitragVerfasst: Do 27.06.02 18:04 
Ich weiß, dass wir das schon mal wo anders hatten, nur vielleicht kennt hier einer ja ne Lösung. :)
Alibi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458

Win2K SP3
Delphi 6 Ent
BeitragVerfasst: Do 27.06.02 20:33 
Laut Delphihilfe muss das Formular einfach ShowHint auf True haben. Jedenfalls interpretier ich den Text so, der bei F1 mit Focus bei Hint beim Menuitem kommt.
Spike
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 69
Erhaltene Danke: 1



BeitragVerfasst: Do 27.06.02 20:51 
Alibi hat folgendes geschrieben:
Laut Delphihilfe muss das Formular einfach ShowHint auf True haben. Jedenfalls interpretier ich den Text so, der bei F1 mit Focus bei Hint beim Menuitem kommt.


das stimmt wohl - dort steht es soll gehen wenn ShowHint für Form und Application auf true gesetzt sind - aber das ist nur Theorie :D
Leider funzt das nicht so wie es soll, aber ich kenn auch keine Abhilfe.
Tpercon Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 60



BeitragVerfasst: Do 27.06.02 22:26 
:?: :(
Arakis
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 344



BeitragVerfasst: Do 27.06.02 22:28 
Es gibt halt Dinge, die kennt nur Mircrosoft :wink:

Bis dann
user defined image

_________________
Mit dem Computer löst man Probleme, die man ohne ihn nicht hätte.
Entwickler von SpaceTrek: The New Empire - Siehe Hompage!
webmaker
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 205



BeitragVerfasst: Mi 03.07.02 12:35 
ich weiß jetzt nicht wirklich, was du meinst, aber vielleicht hilft das:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
PROCEDURE TFrameForm.ListBox1MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);
VAR
        Index : Integer;
  BEGIN
        Index := ListBox1.ItemAtPos(Point(x,y), True);
        IF Index = -1 THEN
           BEGIN
                ListBox1.Hint := '';
                Application.CancelHint;
                Exit;
           END;
        IF (ListBox1.Hint <> ListBox1.Items[Index]) THEN
           BEGIN
                Application.CancelHint;
                ListBox1.Hint := ListBox1.Items[Index];
                Application.HintPause := 50;// zeige schnell
           END;
  END;

Das Beispiel: Als Hint wird immer der Text in der Listbox des aktuellen Items genommen

_________________
.::Wissen ist Macht, nichts wissen macht nichts::.
Tpercon Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 60



BeitragVerfasst: Mi 03.07.02 18:54 
Mir geht's mehr darum, wie ich den Hint eines PopUp Menü Eintrages anzeigen kann.