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.
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
TDdbfBrowse:SetDbf()
- ignacio
- Site Admin
- Mensajes: 9441
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
TDdbfBrowse:SetDbf()
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.
>
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.
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
TDdbfBrowse:SetDbf()
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.
>>
>
>
"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.
>>
>
>
- ignacio
- Site Admin
- Mensajes: 9441
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
TDdbfBrowse:SetDbf()
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.
>>>
>>
>>
>
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.
>>>
>>
>>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
TDdbfBrowse:SetDbf()
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
"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