Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: "Resize" blues



"Jan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am developing an OpenGL component descending from
> TCustomPanel. I override the resize method.
> When I change the size of the component at run time
> (height or width), then the resize method is only
> called for a component that is created at run time,
> but not for a component dropped on the form from
> the IDE. When I check the address of the
> resize method at run time, it is the same for
> both components. Has anyone encountered something
> similar before?

No. Have you considered overriding SetBounds instead? AFAIK it is always
called to alter any dimension of a control.






<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.