Page 1 of 1

TTabControl from source

Posted: Mon Apr 10, 2006 11:38 am
by AlexSchaft
Hi,

I'm trying to get a ttabcontrol on a child dialog of a mdi child window. I've basically replaced the call to ttabs():New with TTabControl():New(), but keep getting cannot create dialog box errors.

Can it be used like this? Also, is it similar to the "old" tab control or folder control?

Alex

Posted: Tue Apr 11, 2006 8:38 am
by Antonio Linares
Alex,

There is a working sample of a TabControl on a dialog at samples\Win32.prg and Win32.rc

TTabControl

Posted: Tue Apr 11, 2006 8:52 am
by AlexSchaft
I know, but that's from a resource.

Alex