TDBGrid input of BCD Fields too short
Original Reporter info from Mantis: Romantiker
-
Reporter name: Manfred Hahn
Original Reporter info from Mantis: Romantiker
- Reporter name: Manfred Hahn
Description:
when putting data into bcd fields via DBGrid sometimes the input possebilities are reduced to 1 or 3 characters (digits)
After test in lazarus and closing the ide an error concerning the heap is shown (True heap size > True free heap)
Steps to reproduce:
See project in the appendix.
Firebird Database (only 1 table) is empty.
When executing the test put some data into the Fields in the DBGrid from left to right. The bdc field BUCH_WERT will only provide 1 digit input. This will also be true when TABing from left to right through the columns without putting data into them, until you come to the field BUCH_WERT.
Close test and start it again. Now go directly to the field BUCH_WERT and put it into edit mode. Now you can input a lot of digits.
Close test and start it again. Select the last field BUCH_WAEHRUNG. You don't need to input data. Then select the BUCH_WERT field and put it into edit mode. You can input 3 digits.
Close Lazarus. View the heap error window.
Additional information:
Lazarus Ver 1.1 Rev. 38533
Firebird 2.5
Mantis conversion info:
- Mantis ID: 22812
- OS: Windows 7
- OS Build: 64 bit
- Build: 22336
- Platform: Windows
- Version: 2.3 (SVN)
- Fixed in revision: 38618 (#ca8b5626)