On Thu, 10 Apr 2008, Teo Fonrouge wrote:
> Przemek,
> I've found just a visual issue, attached is a screen-shoot showing a wrong 
> behavior regarding the columns width when moving the cursor vertically. 
> As you'll see, the first column 'invades' the second column for the total 
> width of the first column when the cursor is moved, the first column has 
> specified a :width of 8 and a max len of 16.

Thank you very much.
I guess it's the result of missing protection against size in
hilite/dehilite methods I've already fixed. Please try the attached
fixed TBrowse code. I also corrected hitTest method. There is still
one incompatiblity with calculating column positions though it's
minor problem and I'll fixed it tomorrow.
I'm attaching small example with the code I extracted from one of
programs I used for tests. Try to use it with mouse. It should start
displaying from bottom position. You can HIDE some columns clicking
one HIDE and restore them by clicking on SHOW ALL. INS highlights
current row DEL restore original colors. 1, 2 and 3 freeze columns.
Compare the results compiling it with Harbour and xHarbour and then
with CL5.3 and attached TBrowse code. It's one of code peace I had
problems after recompilation with [x]Harbour.
I'm waiting for any other problems you will detect.

best regards,
Przemek

Attachment: tbrowse.prg.gz
Description: GNU Zip compressed data

Attachment: tb1.prg.gz
Description: GNU Zip compressed data

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to