Hey guys,
i have a problem with the SalTblSetRow function. I use this function to navigate with Buttons in my grid. However, if I set the FocusRow with my Mouse the next SalTblSetRow ignores this current Focus. (Alternative the Mouse seems to set the Focusrow but doesn't)
Steps to reproduce:
1. Start my reprocase
2. Click Button NEXT --> Focus is now in Row 1
3. Click on Row 6 --> Focus is now in Row 6
4. Click Button NEXT --> Focus is now in Row 2, should be in 7
I can "avoid" this problem when I use "Call SalTblSetFocusRow( grid1 , lParam )" in the On SAM_DoubleClick Event of the grid. However this is still a problem for me.
Thanks in advance.
Best regards
Martin
EDIT: Zip-File with content this time
SalTblSetRow ignores current FocusRow
SalTblSetRow ignores current FocusRow
You do not have the required permissions to view the files attached to this post.
Last edited by Anonymous on 21 May 2015, 13:03, edited 1 time in total.
Re: SalTblSetRow ignores current FocusRow
Hi Martin,
I cannot open your testcase. The zip file is empty.
Best regards,
I cannot open your testcase. The zip file is empty.
Best regards,
Best regards,
Uwe van der Horst
stp.one
Uwe van der Horst
stp.one
Re: SalTblSetRow ignores current FocusRow
Hey Uwe,
thanks for the tip. It's a good idea to put the file in the zip.
thanks for the tip. It's a good idea to put the file in the zip.
You do not have the required permissions to view the files attached to this post.
Re: SalTblSetRow ignores current FocusRow
Yes, obviously there is a bug. After clicking the Row Header SalTblQueryFocus() gives wrong result. After clicking into the column it works. No problems with Child Table.
Work-around:
On SAM_RowHeaderClick
...Call SalTblSetFocusRow( grid1, lParam )
Work-around:
On SAM_RowHeaderClick
...Call SalTblSetFocusRow( grid1, lParam )
Best regards,
Uwe van der Horst
stp.one
Uwe van der Horst
stp.one
Re: SalTblSetRow ignores current FocusRow
I click in the rows (on the numbers) and it doesnt work for me. Is this working for you (multiple times)?
Re: SalTblSetRow ignores current FocusRow
Yes. I'm using Team Developer 6.2 SP3 Update 2 (6.2.3 45008 UPD2). With older versions it doesn't work here, neither.MWegner wrote:I click in the rows (on the numbers) and it doesnt work for me. Is this working for you (multiple times)?
Best regards,
Uwe van der Horst
stp.one
Uwe van der Horst
stp.one
Re: SalTblSetRow ignores current FocusRow
Ah okay. I'm still using Version 6.2.3.44526 UPD1
Who is online
Users browsing this forum: [Ccbot] and 4 guests