View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0038186 | Lazarus | Database Components | public | 2020-12-08 14:30 | 2021-01-17 20:10 |
Reporter | nouzi | Assigned To | Jesus Reyes | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 2.1 (SVN) | ||||
Summary | 0038186: TAB Problem with dbgrid when bidimode=bgRightToLeft | ||||
Description | When changing bidimode to bdRightToLeft, it is assumed that when pressing TAB, the navigation inside dbgrid is from right to left but this does not happen | ||||
Tags | bidi, grids | ||||
Fixed in Revision | 64402 | ||||
LazTarget | 2.2 | ||||
Widgetset | |||||
Attached Files |
|
|
|
|
It is in Grids.pas <code> function TCustomGrid.GetDeltaMoveNext(const Inverse: boolean; //------------------ if UseRightToLeftAlignment then case AAutoAdvance of aaLeftUp: aa := aaRightUp; aaLeftDown: aa := aaRightDown; aaLeft: aa := aaRight; aaRightUp: aa := aaLeftUp; aaRightDown: aa := aaLeftDown; aaRight: aa := aaLeft; end; </code> No need to switch the direction, Left meant the col := col+1, not really a left of end user on the screen, it is logically, if keep it as left (not change it to right) it will move focus cell to next column that exists in the right (in RightToLeft grids) so removing this part of code will resolve the problem. |
|
Fixed according to Zaher comments which I tested. Please test. |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-12-08 14:30 | nouzi | New Issue | |
2020-12-08 14:30 | nouzi | File Added: مشروع غير معنون.mp4 | |
2020-12-08 23:37 | Zaher Dirkey | Tag Attached: bidi | |
2020-12-08 23:51 | Zaher Dirkey | Note Added: 0127468 | |
2020-12-09 11:27 | Zaher Dirkey | Tag Attached: grids | |
2021-01-17 19:15 | Jesus Reyes | Assigned To | => Jesus Reyes |
2021-01-17 19:15 | Jesus Reyes | Status | new => assigned |
2021-01-17 19:17 | Jesus Reyes | Summary | Problem with dbgred => TAB Problem with dbgrid when bidimode=bgRightToLeft |
2021-01-17 19:17 | Jesus Reyes | LazTarget | => - |
2021-01-17 20:10 | Jesus Reyes | Status | assigned => resolved |
2021-01-17 20:10 | Jesus Reyes | Resolution | open => fixed |
2021-01-17 20:10 | Jesus Reyes | Fixed in Version | => 2.1 (SVN) |
2021-01-17 20:10 | Jesus Reyes | Fixed in Revision | => 64402 |
2021-01-17 20:10 | Jesus Reyes | LazTarget | - => 2.2 |
2021-01-17 20:10 | Jesus Reyes | Note Added: 0128391 |