Re: Win32Lib
- Posted by ghaberek (admin) Aug 04, 2008
- 995 views
Mike777 said...
All tab items must have a parent of a tab control, IIRC. I am therefore using parent=tbcParentTabControl in the newUIObj command which creates the tabitem. Of course, the tbcParentTabControl has already been created at that point.
Does that count as "manually"?
I meant the controls on the tabs. Are you parenting those manually? Like this:
TabControl, "Tabs"
TabItem, "Tab1",
Parent="Tabs"
PushButton, "Button1",
Parent="Tab1"
TabItem, "Tab2",
Parent="Tabs"
PushButton, "Button2",
Parent="Tab2"
(It's been a while since I've used this style in Win32Lib, but I'm pretty sure the above is correct.)
-Greg

