To Nages

To Nages

Postby Silvio » Wed Jan 19, 2011 9: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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: To Nages

Postby nageswaragunupudi » Fri Jan 21, 2011 6:21 am

Mr Silvio

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

substitute
Code: Select all  Expand view
      AAdd(aGradiBmp, Trim( oDTipGrad->Bitmap) )
 

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

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10631
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: To Nages

Postby Silvio » Fri Jan 21, 2011 8: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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: To Nages

Postby nageswaragunupudi » Fri Jan 21, 2011 8:53 am

The only issue is Trim(...)

I did not make any other changes
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10631
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: To Nages

Postby Silvio » Fri Jan 21, 2011 9:20 am

look please

Image

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

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: To Nages

Postby Otto » Fri Jan 21, 2011 10:09 am

Maybe some of the officers (Salvatori 5 stars) are too much decorated?
:)
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: To Nages

Postby Silvio » 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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: To Nages

Postby nageswaragunupudi » 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
User avatar
nageswaragunupudi
 
Posts: 10631
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: To Nages

Postby Silvio » 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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 90 guests