[Qt] TPageControl

zeljko zeljko at holobit.net
Wed May 30 15:01:45 CEST 2007


On Wednesday 30 May 2007 10:39, Mattias Gaertner wrote:
> On Wed, 30 May 2007 09:19:52 +0200
>
> zeljko <zeljko at holobit.net> wrote:
> > I've implemented signal CurrentChanged(), cause TTabSheet wasn't
> > properly activated (all inside ctrls doesn't know that it's parent is
> > active), also TPageControl.ActivePage doesn't change.
> > So, it works, but I'm calling TPageControl().ActivePage :=
> > NewActivePage instead of TLMessage. My question would be : What
> > message should I send to get the same effect (TPageControl changes
> > it's ActivePage property) ? I've tried LM_ACTIVATE , but it doesn't
> > work.
>
> TPageControl is a TCustomNoteBook. Widgetsets should support
> TCustomNotebook and TCustomPage.
> See TCustomNotebook.CNNotify for the messages.

Yeah, tnx mattias that fixes the problem, new patch is on the way :)



More information about the Qt mailing list