TD-23226: TD 6.3 SP2 SalTabAssociateChild / SAM_TabChange

Report TD 5.x and 6.x bugs and possible workarounds.
Acclaro
Germany
Posts: 166
Joined: 16 Mar 2017, 08:13
Location: Hannover, Deutschland

TD-23226: TD 6.3 SP2 SalTabAssociateChild / SAM_TabChange

Post by Acclaro » 11 Aug 2016, 18:45

TD 6.3 SP2 Build 48583

associating an item to 2 tabs with SalTabAssociateChild()results in hWndNull for this child searching with SalGetFirstChild( )
in the sample it is a datafield in our application we use this for child table.
You do not have the required permissions to view the files attached to this post.

Mike Vandine

Re: TD-23226: TD 6.3 SP2 SalTabAssociateChild / SAM_TabChange

Post by Mike Vandine » 03 Oct 2016, 06:27

Please give me step-by-step instructions to reproduce this. I'm not sure what to click on to see what you are reporting.

Clicking on the various radio buttons shows different messages. I just need to know exactly what you are seeing versus what I'm seeing with the latest version and an explanation of what I *should* be seeing.

Thanks!

Igor Ivanovic
Site Admin
Site Admin
Croatia
Posts: 1462
Joined: 05 Mar 2017, 12:37
Location: Zagreb, Croatia

Re: TD-23226: TD 6.3 SP2 SalTabAssociateChild / SAM_TabChange

Post by Igor Ivanovic » 03 Oct 2016, 12:12

Mike,

This one is pretty obvious :-)
When you click on a tab with a data field associated with it the message box shows it, but only if it is not on both tabs.
If it is associated with both tabs SalGetFirstChild( hWndTabPage, TYPE_DataField ) returns hWndNull.
Igor Ivanovic
Image

Mike Vandine

Re: TD-23226: TD 6.3 SP2 SalTabAssociateChild / SAM_TabChange

Post by Mike Vandine » 04 Oct 2016, 05:35

Hi Igor,

So for a testcase I would love to see instructions something like:

1. Run the application.
2. Click on the second radio button. This associates the datafield with tab2.
3. Click on tab2. You will see the message 'datafield is on tab'.
4. Click on the third radio button. This associates the datafield on both tabs.
5. Click on tab1. No message is shown. Since the datafield actually *is* seen on the tab, this is an error. SalGetFirstChild is not seeing that this association is there.
6. Click on tab2. No message is shown here either.

So, thanks for the explanation.

Best regards,

Mike Vandine

Re: TD-23226: TD 6.3 SP2 SalTabAssociateChild / SAM_TabChange

Post by Mike Vandine » 28 Oct 2016, 04:15

Hi Igor,

No insult taken. :)

I have created defect TD-23226 for this issue. I could reproduce this with TD7.0 as well.

Best regards,

Return to “Bug Reports”

Who is online

Users browsing this forum: [Ccbot] and 0 guests