[Qt] TPageControl

Mattias Gaertner nc-gaertnma at netcologne.de
Wed May 30 10:39:36 CEST 2007


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.


Mattias




More information about the Qt mailing list