FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour To Nages
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
To Nages
Posted: Wed Jan 19, 2011 09:51 AM

Dear Mr Rao,
I try to insert bitmaps on xbrowse but it not run ok
I sent you all the test files , can you see this error please ?

Best Regards, Saludos



Falconi Silvio
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: To Nages
Posted: Fri Jan 21, 2011 06:21 AM
Mr Silvio

I have seen your code. Please make the following changes.
For the line:
Code (fw): Select all Collapse
       AAdd(aGradiBmp, oDTipGrad->Bitmap )

substitute
Code (fw): Select all Collapse
       AAdd(aGradiBmp, Trim( oDTipGrad->Bitmap) )

If you are using 10.8 or later
Code (fw): Select all Collapse
oCol:AddBitmap( aGradiBmp )

works.
But if you are using 10.7 or earlier, please load bitmaps in a loop
Code (fw): Select all Collapse
for n := 1 to Len( aGradiBmp )
oCol:AddBitmap( aGradiBmp[ n ] )
next
Regards



G. N. Rao.

Hyderabad, India
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: To Nages
Posted: Fri Jan 21, 2011 08:42 AM

Now run on old Fwh08.10 but I must see this afternoon on 09

but this command not run ok

oApp():oGrid:nRowHeight := 40

you change also the height of row of xbrowse ?

Best Regards, Saludos



Falconi Silvio
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: To Nages
Posted: Fri Jan 21, 2011 08:53 AM

The only issue is Trim(...)

I did not make any other changes

Regards



G. N. Rao.

Hyderabad, India
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: To Nages
Posted: Fri Jan 21, 2011 09:20 AM
look please



I made :
oApp():nRowHeight := 50 //90 // 120 not run this
oApp():nHeaderHeight := 36
Best Regards, Saludos



Falconi Silvio
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: To Nages
Posted: Fri Jan 21, 2011 10:09 AM

Maybe some of the officers (Salvatori 5 stars) are too much decorated?

Best regards,
Otto

:)

Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: To Nages
Posted: Fri Jan 21, 2011 10:17 AM

ja jajajajajja
Otto,
it is a Rescue Association (volunteer rescue).... Red Cross also

Best Regards, Saludos



Falconi Silvio
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: To Nages
Posted: Fri Jan 21, 2011 11:05 AM

Mr. Silvio

It is better you do not specify the row height and allow xbrowse to calculate the row height.

Most of the times we get better results if we let xbrowse do its job on its own.

Regards



G. N. Rao.

Hyderabad, India
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: To Nages
Posted: Fri Jan 21, 2011 11:36 AM

Rao now run ok
there is an error on xbrowse state , i erase it and now run ok sorry

Best Regards, Saludos



Falconi Silvio

Continue the discussion