Hi,
My name is Joerg Grabner. I’m from Austria and I’m new to this forum.
I’m mostly into SAP consulting and ABAP programming to earn a living (=>
www.wenex.at – this is the URL of my „one person“ company). Besides I developed a little ERP system in Clipper for a small Austrian company which I extended substantially using Harbour this year.
To replace that old system I currently develop a completely new ERP system „WENE“ based on HMG 3.0.44 and a mySQL database. I use a „generic“ standard system approach with lot’s of parametrization tables containing lot’s of macros. WENE will be open source (GNU/GPL) – I want to release it as soon as it is productive at the small company and used for issueing the few bills of my company. I develop WENE in my spare time as a kind of hobby.
I already coded lots of low level methods to access mySQL and finished parts of the user interface using a tree and a combobox.
The problem in the grid (with CellNavigation) is the first problem with HMG I encountered until now (thanks to all of you for that – HMG is really great and stable) and the reason I'd like to post something:
I wan’t to program my own textbox to edit cells in the grid. Prerequisite for that is the right row and col (in pixels) to overlay the right cell with the textbox.
The This.CellRow and This.CellCol properties available only in the ON DBLCLICK procedure are unfortunately sometimes wrong (about 20% of the tests – either row or col are wrong or both – in about 80% of the tests both row and col are ok).
It looks like function _GetGridCellData() sometimes returns wrong values for row and col (I called _GetGridCellData() directly after deriving the index of the grid object from _HMG_SYSDATA[1]).
Is it possible to fix _GetGridCellData()? _HMG_GRIDINPLACEEDIT() which is activated with the EDIT property doesn’t have this problem - it seems to derive row and col in a different way...
Thanks a lot in advance,
Regards, Joerg