Solved SalGetNextChild QuickTabs vs Tab Bar

Discussion forum about all things Team Developer 7.x
bdquick
United States of America
Posts: 4
Joined: 02 Oct 2018, 14:20
Location: USA

SalGetNextChild QuickTabs vs Tab Bar

Post by bdquick » 15 Jan 2019, 21:05

Not sure if what I'm seeing is working as designed or a bug. Working on updating from very old CTD 1.1 to TD 7.1. Have found when looping through controls on the form using SalGetNextChild( hWndForm, TYPE_Any), any control associated with the Tab Bar control does not get returned. Controls associated with a quicktab do. I can work around it easy enough just curios if this was the correct behavior for the new tab control?
Last edited by bdquick on 16 Jan 2019, 14:52, edited 1 time in total.

memic
Germany
Posts: 38
Joined: 07 Mar 2017, 08:51
Location: Germany

Re: SalGetNextChild QuickTabs vs Tab Bar

Post by memic » 16 Jan 2019, 08:33

If I remeber correctly you have to use SalGetNextChild( tab_handle, TYPE_Any) and not hWndForm as parent. It seems to me that the Tab Bar childs are not handled as hWndForm childs anymore.

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 2813
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: SalGetNextChild QuickTabs vs Tab Bar

Post by Dave Rabelink » 16 Jan 2019, 08:44

Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

bdquick
United States of America
Posts: 4
Joined: 02 Oct 2018, 14:20
Location: USA

Re: SalGetNextChild QuickTabs vs Tab Bar

Post by bdquick » 16 Jan 2019, 14:50

Thanks guys. Just wanted to verify it was working as designed.

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 0 guests