Jump to content


Photo

nxalert problem


  • Please log in to reply
5 replies to this topic

#1 steki

steki
  • Members
  • 10 posts

Posted 19 July 2006 - 01:04 PM

hi,

using current version of nxalertwindow i have two problems.

- i cant find a way to disable autoclose function (Autoclosedelay = 0), so that the user has to close the window manually.
- when the windows statusbar is on top of the screen and not at the bottom, nxalertwindow should appear at the top as well

regards
stefan

#2 steki

steki
  • Members
  • 10 posts

Posted 19 July 2006 - 05:54 PM

... and how can i hide a nxalertwindow?

nxalertwindow1.hide nor closedelay := 0 does work for me :-(

thanks
stefan

#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 19 July 2006 - 08:27 PM

Hello Stefan,

I didn't add this possibility yet, but I will see what I may do.

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#4 Bas

Bas
  • Members
  • 28 posts

Posted 01 August 2006 - 09:41 AM

Just a cosmetic comment: but it would be nice it the window did not diseapear abrupty when the close button is clicked, but instead, slides down (the way as it pop up, just opposite direction of course).

Btw, is it possible to use HTML tags in the text property? Because I want to place a hyperlink inside..

#5 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 01 August 2006 - 01:45 PM

Hello,

I have add new method called Close. This method will slightly close alert window. It will be available in next release, but who like to add it, here is a code for it:

CODE
interface
...
TNxAlertWindow = class(TCustomControl)
...
public
  procedure Close;
...
implementation
...
procedure TNxAlertWindow.Close;
begin
  FAlertDirection := adDown;
  FPopupTimer.Enabled := True;
end;


I have like to made closing popup with x button to be same as in MSN Messanger. Using Close method will close popup in same way as opening.

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#6 Bas

Bas
  • Members
  • 28 posts

Posted 03 August 2006 - 02:55 PM

Cool! Thanks.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users