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.
TD-23226: TD 6.3 SP2 SalTabAssociateChild / SAM_TabChange
TD-23226: TD 6.3 SP2 SalTabAssociateChild / SAM_TabChange
You do not have the required permissions to view the files attached to this post.
Re: TD-23226: TD 6.3 SP2 SalTabAssociateChild / SAM_TabChange
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!
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!
Re: TD-23226: TD 6.3 SP2 SalTabAssociateChild / SAM_TabChange
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.
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


Re: TD-23226: TD 6.3 SP2 SalTabAssociateChild / SAM_TabChange
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,
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,
Re: TD-23226: TD 6.3 SP2 SalTabAssociateChild / SAM_TabChange
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,
No insult taken.

I have created defect TD-23226 for this issue. I could reproduce this with TD7.0 as well.
Best regards,
Who is online
Users browsing this forum: No registered users and 0 guests