Results 1 to 1 of 1

Thread: PopupBalloon verbergt niet na ingestelde tijd

  1. #1

    Question PopupBalloon verbergt niet na ingestelde tijd

    Stijn,

    Ik gebruik TNLDTrayIcon v2 en als ik PopupBalloon() aanroep dan wordt de tijd die je ingeeft als laatste parameter "slecht" gebruikt. Wat ik daarmee wil zeggen is: als je bv. 10 ingeeft dan verwacht ik dat de ballon 10 seconden blijft staan en dan opnieuw verbergt.

    Wat heb ik als code ingesteld, zet een TNLDTrayyIcon, een TButton en een TEdit op een form:
    Code:
    procedure TForm1.NLDTrayIcon1BalloonHide(Sender:TObject);
    begin
      caption:=caption+(' ,BalloonHide @ ' + timetostr(now));
    end;
    
    procedure TForm1.NLDTrayIcon1BalloonShow(Sender:TObject);
    begin
      caption:=('BalloonShow @ ' + timetostr(now));
    end;
    
    procedure TForm1.Button1Click(Sender:TObject);
    begin
      NldTrayIcon1.popupballoon('Dit is de titel', 
      'Dit is de caption', bitinfo, strtoint(edit1.text));
    end;
    Wat ik ook vond op MSDN was dit:
    uTimeout
    Union with uVersion. The timeout value, in milliseconds, for a balloon ToolTip. The system enforces minimum and maximum timeout values. uTimeout values that are too large are set to the maximum value and values that are too small default to the minimum value. The system minimum and maximum timeout values are currently set at 10 seconds and 30 seconds, respectively. See the remarks for further discussion of uTimeout.
    Hieruit maak ik op dat een ballon minstens 10 seconden en maximum 30 seconden blijft staan

    Zoals je ziet in onderstaande tekening geef ik aan dat hij 10 seconden moet blijven staan, maar dat doet hij dus niet. Hij blijft véél langer staan, tenzij ik hem vroegtijdig uit zijn lijden verlos
    Attached Images Attached Images  
    DeX 3 Delphi := The ease of VB with the power of C; Zoekt en gij zult vinden

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Kleur plaatje wat niet niet zichtbaar is
    By The Master in forum Algemeen
    Replies: 10
    Last Post: 18-Jan-03, 02:06
  2. hint en shape refreshen niet!!
    By romar in forum Databases
    Replies: 12
    Last Post: 09-Jan-03, 14:48
  3. Replies: 2
    Last Post: 11-Dec-02, 12:48
  4. API Timer wil niet firen...
    By PsychoMark in forum Algemeen
    Replies: 0
    Last Post: 27-Nov-01, 15:43

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •