Jump to content


Photo

nxprogress bug in oct11 release


  • Please log in to reply
5 replies to this topic

#1 bgreene

bgreene
  • Members
  • 4 posts

Posted 12 October 2007 - 11:30 AM

nxprogress causes av when ide closes because its owner is application and not self.
can be fixed by

constructor TNxProgress.Create(AOwner: TComponent);
.......
FForm := TForm.CreateNew(Application);
// bill greene
FForm.freeNotification(self);

and then override notification
procedure TNxProgress.Notification(AComponent: TComponent;
Operation: TOperation);
begin
if (operation = opRemove) and (aComponent = FForm) then
FForm := nil;
inherited notification(aComponent, operation);

end;

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,838 posts
  • Gender:Male

Posted 12 October 2007 - 03:19 PM

Hello Bgreene,

I will add it. Thank you.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.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 emailaya

emailaya

    Master Member

  • Members
  • PipPipPipPipPip
  • 984 posts

Posted 12 October 2007 - 05:08 PM

i just noticed bxProgressbar exists
its not the first time new components are added without any notification
why is it like that?

and i didnt understand the fix that was given here
constructor TNxProgress.Create(AOwner: TComponent); doesnt look like it is written here
why FForm needs to be added to the constructor?

and i didnt find procedure TNxProgress.Notification(AComponent: TComponent; Operation: TOperation);
does it need to be added?

is there sth special about this progressbar which doesnt exists in the regular one?

#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,838 posts
  • Gender:Male

Posted 12 October 2007 - 10:16 PM

Hello Emailaya,

This component is added before some time. I will include this fixes into my release and re-upload files tomorow again.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.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 emailaya

emailaya

    Master Member

  • Members
  • PipPipPipPipPip
  • 984 posts

Posted 12 October 2007 - 11:57 PM

ok, 10x

and if the multiselect problem can be fixed as well (see my other post)
it will even be better smile.gif

is there something special in this progressbar?

and plz notify when new components are added , 10x smile.gif

#6 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,838 posts
  • Gender:Male

Posted 13 October 2007 - 12:22 AM

Hello Emailaya,

I have add notification for this component, as I allways do. But this have been before some time.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users