nxAlertWindow and close click
#1
Posted 28 October 2006 - 01:09 AM
the event for clicking the close button
so i can tell the window to close smoothly is missing
did u not add it yet or is it sth wrong at my place?
thanks
#2
Posted 28 October 2006 - 02:17 AM
I didn't add smooth closing, only instant. I have try to mimic MSN Messanger popup alert.
regards
--
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.
#3
Posted 28 October 2006 - 12:59 PM
b4 the last release some ppl (including me) asked for an event for pressing the close button and then in this event we will call the method that closes the window smoothly
it surely not critical issue, just nice to have
#4
Posted 28 October 2006 - 03:38 PM
There is a method for it, but after clicking on X sign it is closed instantly. If I have time, I will add a property for controling this.
regards
--
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.
#5
Posted 28 October 2006 - 04:15 PM
there are mentions for close click events
FOnCloseClick: TNotifyEvent;
property OnCloseClick: TNotifyEvent read FOnCloseClick write FOnCloseClick;
procedure TNxAlertWindow.DoCloseClick;
begin
if Assigned(FOnCloseClick) then FOnCloseClick (Self);
end;
but its not published to the out world
#6
Posted 29 October 2006 - 01:48 PM
This is a event. To use a method for closing window call NxAlertWindow1.Close;
regards
--
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.
#7
Posted 29 October 2006 - 02:45 PM
i wanted in OnCloseClick to call the Close event
in order to close it smoothly
but there is no close click
#8
Posted 29 October 2006 - 03:30 PM
I have check it now and all work fine
begin
NxAlertWindow1.Close;
end;
regards
--
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.
#9
Posted 29 October 2006 - 03:37 PM
but i will check it again
(later today)
#10
Posted 29 October 2006 - 03:42 PM
Best regards
--
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.
#11
Posted 29 October 2006 - 09:40 PM
i just checked
there OnClick
OnDblClick
OnOptionsClick
no CloseClick
#12
Posted 30 October 2006 - 04:50 AM
Maybe this happen because you didn't do a clean install. Try to recompile NxCollectionRun package again.
regards
--
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.
#13
Posted 30 October 2006 - 10:17 AM
in this version u added a property for the popup location
and that property exists now
so how come the new property is ok
but the new event isnt?
clean install meaning:
closing Delphi
uninstall next suite
install next suite
open Delphi
or should i do sth from inside Delphi as well?
#14
Posted 31 October 2006 - 12:51 AM
im sorry but OnCloseClick event is missing
#15
Posted 31 October 2006 - 01:40 PM
can you please open NxCollection.pas file and go to NxAlertWindow declaration. Can you please tell me if is this event there.
regards
--
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.
#16
Posted 31 October 2006 - 08:12 PM
FOnCloseClick: TNotifyEvent; (under private)
property OnCloseClick: TNotifyEvent read FOnCloseClick write FOnCloseClick;
(under published)
it doesnt appear in the events list though of the alert window
im using bds2006
#17
Posted 31 October 2006 - 08:32 PM
Event is here, maybe you need to compile and install NxCollectionRun.dpk package again.
regards
--
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.
#18
Posted 31 October 2006 - 09:02 PM
(installing the regular way has no problem)
b4 the last release
i made some changes to alertwindow to make popup on the left side
and when i installed your last release, it did override my changes
which means the installation was ok
mayb installation under bds2006 causes this?
#19
Posted 01 November 2006 - 12:23 AM
I have no problems with BDS2006. Maybe you may clean all files from disk of NextSuite and then install new version again.
Probably some conflict has maden with old version.
I have already add this feature in new version
regards
--
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.
#20
Posted 01 November 2006 - 12:28 AM
now it works perfect as well with your changes
u r using bds2006 and u have the CloseClick event?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











