Página 1 de 1

TDdbfBrowse:SetDbf()

Publicado: Dom Dic 31, 2006 10:58 pm
por Roberto
Hi,
I'm already using xHarbour (from xHarbour.com) and my programs works fine
but I intend to move to really OOP world.
I'm try to use the TDbfBrowse class but I can't understand how I can define
the dbf file it should use or how I can add a new column to the browse. The
only way to do that is using SetDbf() method, but I don't want this
behavior, I mean all the fields whit the field name as a header!
Can anyone help me??
Tks.

TDdbfBrowse:SetDbf()

Publicado: Mar Ene 02, 2007 9:09 am
por ignacio
Roberto,
Is quite easy:
1) Right click on the browse control
2) Select the menu option 'New column'
3) Select the column (a blue rectangle should appear surrounding the column)
4) On the Object inspector select the property cField
5) Put its field name
6) On the Object inspector select the property cHeader
7) Put whatever you want
That's all.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Roberto" <roberto@top2.com.br> escribió en el mensaje
news:[email=45983260@news.xailer.com...]45983260@news.xailer.com...[/email]
> Hi,
>
> I'm already using xHarbour (from xHarbour.com) and my programs works fine
> but I intend to move to really OOP world.
>
> I'm try to use the TDbfBrowse class but I can't understand how I can
> define the dbf file it should use or how I can add a new column to the
> browse. The only way to do that is using SetDbf() method, but I don't want
> this behavior, I mean all the fields whit the field name as a header!
>
> Can anyone help me??
>
> Tks.
>

TDdbfBrowse:SetDbf()

Publicado: Mar Ene 02, 2007 4:30 pm
por Roberto
Tks, but I want to do that at run-time. Is it possible?
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote:
>Roberto,
>
>Is quite easy:
>
>1) Right click on the browse control
>2) Select the menu option 'New column'
>3) Select the column (a blue rectangle should appear surrounding the column)
>4) On the Object inspector select the property cField
>5) Put its field name
>6) On the Object inspector select the property cHeader
>7) Put whatever you want
>
>That's all.
>
>Regards,
>
>--
>Ignacio Ortiz de Zúñiga
>http://www.xailer.com
>"Roberto" <roberto@top2.com.br> escribió en el mensaje
>news:[email=45983260@news.xailer.com...]45983260@news.xailer.com...[/email]
>> Hi,
>>
>> I'm already using xHarbour (from xHarbour.com) and my programs works fine
>> but I intend to move to really OOP world.
>>
>> I'm try to use the TDbfBrowse class but I can't understand how I can
>> define the dbf file it should use or how I can add a new column to the
>> browse. The only way to do that is using SetDbf() method, but I don't
want
>> this behavior, I mean all the fields whit the field name as a header!
>>
>> Can anyone help me??
>>
>> Tks.
>>
>
>

TDdbfBrowse:SetDbf()

Publicado: Mar Ene 02, 2007 4:40 pm
por ignacio
Roberto,
Of course, Just ADD the column before the call to SetDbf.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"roberto" <roberto@top2.com.br> escribió en el mensaje
news:459a7a9c$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>
> Tks, but I want to do that at run-time. Is it possible?
>
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote:
>>Roberto,
>>
>>Is quite easy:
>>
>>1) Right click on the browse control
>>2) Select the menu option 'New column'
>>3) Select the column (a blue rectangle should appear surrounding the
>>column)
>>4) On the Object inspector select the property cField
>>5) Put its field name
>>6) On the Object inspector select the property cHeader
>>7) Put whatever you want
>>
>>That's all.
>>
>>Regards,
>>
>>--
>>Ignacio Ortiz de Zúñiga
>>http://www.xailer.com
>>"Roberto" <roberto@top2.com.br> escribió en el mensaje
>>news:[email=45983260@news.xailer.com...]45983260@news.xailer.com...[/email]
>>> Hi,
>>>
>>> I'm already using xHarbour (from xHarbour.com) and my programs works
>>> fine
>
>>> but I intend to move to really OOP world.
>>>
>>> I'm try to use the TDbfBrowse class but I can't understand how I can
>>> define the dbf file it should use or how I can add a new column to the
>
>>> browse. The only way to do that is using SetDbf() method, but I don't
> want
>>> this behavior, I mean all the fields whit the field name as a header!
>>>
>>> Can anyone help me??
>>>
>>> Tks.
>>>
>>
>>
>

TDdbfBrowse:SetDbf()

Publicado: Mar Ene 02, 2007 7:30 pm
por Roberto
Tks,
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:459a7cde$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Roberto,
>
> Of course, Just ADD the column before the call to SetDbf.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com