About xBrowse

About xBrowse

Postby Marco Turco » Tue May 08, 2007 5:05 pm

Hi,
I have a small problem with the xbrowse class managing arrays.

With an array like this:

aArray:=array(0,3)
aadd(aArray,{"01,"Pippo","03"})
aadd(aArray,{"02","Pluto",04"})

I need to display only the First and Second element so I defined only two header:

oBrw:aCols[1]:cHeader:="Number"
oBrw:aCols[2]:cHeader:="Name"

The problem is that the browse also report the thirth element ("03","04") on the right that I have not defined as header.

Is there any way to hidden the thirth element ?

Thanks in advance

Best Regards,

Marco Turco
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Postby Marco Turco » Tue May 08, 2007 7:07 pm

Ok.
Solved with oBrw:nFreeze:=2


Regards,

Marco
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 37 guests