On Thursday 10 April 2008 04:45:42 pm Przemyslaw Czerpak wrote:
> 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.

Using the last tbrowse version that you just send I still have found problems 
regarding of size & position of cells, for illustrate this problems, I took 
the liberty of change a little your sample and attached it as tb2.prg

please try it and modify/reorder the items in the array <aData> in the 
AddMoreColumns() function to see the problems.


best regards

Teo

(I think that will be useful if we could have this new tbrowse.prg in the SVN 
(renamed of course) to be able to collaborate in the debugging.)

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

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

Reply via email to