| Anonymous | Login | Signup for a new account | 2010-09-09 03:26 CEST |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0005053 | [JEDI VCL] 00 JVCL Components | tweak | always | 2009-12-12 00:45 | 2009-12-18 12:05 | |||||||
| Reporter | vac | View Status | public | |||||||||
| Assigned To | ||||||||||||
| Priority | normal | Resolution | open | |||||||||
| Status | acknowledged | Product Version | 3.39 | |||||||||
| Summary | 0005053: JvDBUltimGrid Search with no focus not working | |||||||||||
| Description |
I have JvDBUltimGrid and EditBox - Delphi 2006. OnChange of editbox i do: JvDBUltimGrid1.Search(Edit1.Text, ResutCol, ResultField, false, false, false) and it does not select row which i want it to select. but when i use: JvDBUltimGrid1.Search(Edit1.Text, resultcol, ResultField, false, false, true) it does select correct row, but unfortunately every time i put new char i have to come back with focus to my editbox - because Search function, each time, changing focus to the grid. |
|||||||||||
| Additional Information |
i think problem is in Search function of jvdbultiumgrid grid, in fragment: if Result and Focus then begin Self.Col := ResultCol; if Self.Visible and Self.CanFocus then Self.SetFocus; end else RestoreGridPosition; so when there is no focus grid is _always_ restoring its position (even if record was found). when i change it to: if Result and Focus then begin Self.Col := ResultCol; if Self.Visible and Self.CanFocus then Self.SetFocus; end; if not Result then RestoreGridPosition; its started to working fine for me. |
|||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
|
|
||||||||||||
| There are no notes attached to this issue. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-12-12 00:45 | vac | New Issue | |
| 2009-12-18 12:05 | obones | Status | new => acknowledged |
| 2009-12-18 12:05 | obones | Target Version | => 3.40 - not yet released |
| Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |