Solved TD-21916: TD 6.2 SP3r SAM_SetFocus behavior has changed.

Report TD 5.x and 6.x bugs and possible workarounds.
teambau

TD-21916: TD 6.2 SP3r SAM_SetFocus behavior has changed.

Post by teambau » 25 Feb 2015, 14:40

There is a significant change using table windows under MDI in case of SAM_SetFocus. We use table windows with enabled toolbar. Starting another table or any other windows by clicking a button in the toolbar of a table window and closing the other window sends a SAM_SetFocus to the button which was clicked and not to the table window as it was until TD 6.2 SP2. (see the code sample below)
This only happens if the table window is created under MDI. Our application needs the origin functionality that the message is been send to the table window as expected and not to the toolbar button.
You do not have the required permissions to view the files attached to this post.

User avatar
H3PO4
Germany
Posts: 241
Joined: 10 Mar 2017, 07:53
Location: Rohlstorf, Germany

Re: TD-21916: TD 6.2 SP3r SAM_SetFocus behavior has changed.

Post by H3PO4 » 25 Feb 2015, 15:12

Hi teambau,

I just tried your ReproCase with TD 6.2 SP1,
after closing the second window, the focus was returning to the button in the toolbar...

Do I miss sth?

Regards
Henning

teambau

Re: TD-21916: TD 6.2 SP3r SAM_SetFocus behavior has changed.

Post by teambau » 25 Feb 2015, 16:53

Hello Henning,

may be that there is the same behavior with SP1. We have no installation with SP1, the testcase works correct with SP2 and is now different with SP3r.

Ernst

User avatar
H3PO4
Germany
Posts: 241
Joined: 10 Mar 2017, 07:53
Location: Rohlstorf, Germany

Re: TD-21916: TD 6.2 SP3r SAM_SetFocus behavior has changed.

Post by H3PO4 » 25 Feb 2015, 17:39

Hello Ernst,

I'll make a try with earlier versions 6.1/6.2 tomorrow...

Regards
Henning

teambau

Re: TD-21916: TD 6.2 SP3r SAM_SetFocus behavior has changed.

Post by teambau » 09 Mar 2015, 09:14

has no one this problem?

teambau

Re: TD-21916: TD 6.2 SP3r SAM_SetFocus behavior has changed.

Post by teambau » 16 Mar 2015, 10:06

answer from gupta:
This has been reproduced and logged as TD-21916 : Problem with SAM_SetFocus.
Development will be investigating and if a fix is produced it will be available in TD6.2 SP4.

Return to “Bug Reports”

Who is online

Users browsing this forum: [Ccbot] and 4 guests