FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse Row Height w/ image too high
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
xBrowse Row Height w/ image too high
Posted: Thu Dec 23, 2010 07:15 PM
It appears that the automatic row height calculation when an image is used is about twice as high as it should be. When I add a 32x32 pixel image, the row height seems to be about 64 pixels. The column width seems to be correct.

I am using FWH 10.8.

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: xBrowse Row Height w/ image too high
Posted: Thu Dec 23, 2010 07:54 PM

OK, I just tried with a 16x16 pixel image and the row height is the same as it was with the 32x32 pixel image. So, the row height is not being automatically calculated when an image is used, it just defaults to a value around 64 pixels when any image is used.

I guess this is not a bug, but it would seem to be useful if the row height was automatically calculated to something slightly bigger than the image. Perhaps we do not have a function to find the image height?

I do know that you can manually adjust the row height--this is what I am doing.

oBrw:nRowHeight := 22

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xBrowse Row Height w/ image too high
Posted: Fri Dec 24, 2010 03:07 PM

Mr. James

I guess you are using 800x640 pixels display.
Can you please post your sample code? Hope we can suggest how to use this feature.

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion