Re: Win32Lib

new topic     » goto parent     » topic index » view thread      » older message » newer message
ghaberek said...
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

See my response to CChris. All controls on the tabs are created with a parent=tabindex explicitly stated on the newUIObj command.

Mike

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu