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.

TBrwColumn:cHeader

Xailer professional forum in English
Responder
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9440
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TBrwColumn:cHeader

Mensaje por ignacio »

Oleg,
COLUMN OF oReport ;
TITLE "Line 1", "Line 2", "Line 3", "Line 4" ;
DATA ..., ..., ..., ...
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=452ce822@news.xailer.com...]452ce822@news.xailer.com...[/email]
> Dear developers!
>
> Is there any way to divide TBrwColumn:cHeader into more than one lines?
> (like in Clipper's TBColumn:Heading with using ';' char)
>
> If not, can you add this feature to some near release?
>
> Thank you.
> Oleg.
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

TBrwColumn:cHeader

Mensaje por NoName »

Oleg,
COLUMN OF oReport ;
TITLE "Line 1", "Line 2", "Line 3", "Line 4" ;
DATA ..., ..., ..., ...
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=452ce822@news.xailer.com...]452ce822@news.xailer.com...[/email]
> Dear developers!
>
> Is there any way to divide TBrwColumn:cHeader into more than one lines?
> (like in Clipper's TBColumn:Heading with using ';' char)
>
> If not, can you add this feature to some near release?
>
> Thank you.
> Oleg.
>
>
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

TBrwColumn:cHeader

Mensaje por Oleg »

Ignacio,
my question was about TBrowse column heading, not TReport.
Regards,
Oleg.
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

TBrwColumn:cHeader

Mensaje por Oleg »

Ignacio,
my question was about TBrowse column heading, not TReport.
Regards,
Oleg.
_support_
Mensajes: 146
Registrado: Lun Abr 10, 2006 1:29 pm

TBrwColumn:cHeader

Mensaje por _support_ »

Oleg,
Sorry for the mistake. I am afraid you can not. The underlaying THeader
control is a Windows API control that does not support that feature.
I suggest you use the TBrwColumn:cTooltip to put any extra information you
may need.
Regards,
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=452d2578@news.xailer.com...]452d2578@news.xailer.com...[/email]
> Ignacio,
>
> my question was about TBrowse column heading, not TReport.
>
> Regards,
> Oleg.
>
>
>
_support_
Mensajes: 146
Registrado: Lun Abr 10, 2006 1:29 pm

TBrwColumn:cHeader

Mensaje por _support_ »

Oleg,
Sorry for the mistake. I am afraid you can not. The underlaying THeader
control is a Windows API control that does not support that feature.
I suggest you use the TBrwColumn:cTooltip to put any extra information you
may need.
Regards,
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=452d2578@news.xailer.com...]452d2578@news.xailer.com...[/email]
> Ignacio,
>
> my question was about TBrowse column heading, not TReport.
>
> Regards,
> Oleg.
>
>
>
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

TBrwColumn:cHeader

Mensaje por Oleg »

Ignacio, Jose!
> Sorry for the mistake. I am afraid you can not. The underlaying THeader
> control is a Windows API control that does not support that feature.
I have looked at Win32 API and found that multiline header item can be drawn
using HDF_OWNERDRAW style.
Can you add it to Xailer? I think it will not be so difficult.
It is really like in TStatusBar and TStatusPanel (TStatusBar:OnDrawItem and
TStatusPanel:lOwnerDraw):
THeader:OnDrawItem
THeaderItem:lOwnerDraw.
I need it very much.
Thank you.
Oleg.
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

TBrwColumn:cHeader

Mensaje por Oleg »

Ignacio, Jose!
> Sorry for the mistake. I am afraid you can not. The underlaying THeader
> control is a Windows API control that does not support that feature.
I have looked at Win32 API and found that multiline header item can be drawn
using HDF_OWNERDRAW style.
Can you add it to Xailer? I think it will not be so difficult.
It is really like in TStatusBar and TStatusPanel (TStatusBar:OnDrawItem and
TStatusPanel:lOwnerDraw):
THeader:OnDrawItem
THeaderItem:lOwnerDraw.
I need it very much.
Thank you.
Oleg.
_support_
Mensajes: 146
Registrado: Lun Abr 10, 2006 1:29 pm

TBrwColumn:cHeader

Mensaje por _support_ »

Oleg,
A lot of windows control has that OWNERDRAW capability but on that case ALL
the painting must be done by us. A lot of work I assure you.
Regards,
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=452e32d8@news.xailer.com...]452e32d8@news.xailer.com...[/email]
> Ignacio, Jose!
>
>> Sorry for the mistake. I am afraid you can not. The underlaying THeader
>> control is a Windows API control that does not support that feature.
>
> I have looked at Win32 API and found that multiline header item can be
> drawn
> using HDF_OWNERDRAW style.
> Can you add it to Xailer? I think it will not be so difficult.
> It is really like in TStatusBar and TStatusPanel (TStatusBar:OnDrawItem
> and
> TStatusPanel:lOwnerDraw):
> THeader:OnDrawItem
> THeaderItem:lOwnerDraw.
>
> I need it very much.
>
> Thank you.
> Oleg.
>
>
_support_
Mensajes: 146
Registrado: Lun Abr 10, 2006 1:29 pm

TBrwColumn:cHeader

Mensaje por _support_ »

Oleg,
A lot of windows control has that OWNERDRAW capability but on that case ALL
the painting must be done by us. A lot of work I assure you.
Regards,
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=452e32d8@news.xailer.com...]452e32d8@news.xailer.com...[/email]
> Ignacio, Jose!
>
>> Sorry for the mistake. I am afraid you can not. The underlaying THeader
>> control is a Windows API control that does not support that feature.
>
> I have looked at Win32 API and found that multiline header item can be
> drawn
> using HDF_OWNERDRAW style.
> Can you add it to Xailer? I think it will not be so difficult.
> It is really like in TStatusBar and TStatusPanel (TStatusBar:OnDrawItem
> and
> TStatusPanel:lOwnerDraw):
> THeader:OnDrawItem
> THeaderItem:lOwnerDraw.
>
> I need it very much.
>
> Thank you.
> Oleg.
>
>
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

TBrwColumn:cHeader

Mensaje por Oleg »

Ignacio,
> A lot of windows control has that OWNERDRAW capability but on that case
ALL
> the painting must be done by us. A lot of work I assure you.
You can use my sample as a base.
Regards,
Oleg


Attached files test9.zip (3.4 KB)Â
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

TBrwColumn:cHeader

Mensaje por Oleg »

Ignacio,
> A lot of windows control has that OWNERDRAW capability but on that case
ALL
> the painting must be done by us. A lot of work I assure you.
You can use my sample as a base.
Regards,
Oleg


Attached files test9.zip (3.4 KB)Â
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9440
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TBrwColumn:cHeader

Mensaje por ignacio »

Oleg,
You may inherit from THeader class and do it your self.
Regards,
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=45312c7d@news.xailer.com...]45312c7d@news.xailer.com...[/email]
> Ignacio,
>
>> A lot of windows control has that OWNERDRAW capability but on that case
> ALL
>> the painting must be done by us. A lot of work I assure you.
>
> You can use my sample as a base.
>
> Regards,
> Oleg
>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Guest

TBrwColumn:cHeader

Mensaje por Guest »

Oleg,
You may inherit from THeader class and do it your self.
Regards,
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=45312c7d@news.xailer.com...]45312c7d@news.xailer.com...[/email]
> Ignacio,
>
>> A lot of windows control has that OWNERDRAW capability but on that case
> ALL
>> the painting must be done by us. A lot of work I assure you.
>
> You can use my sample as a base.
>
> Regards,
> Oleg
>
>
>
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9440
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TBrwColumn:cHeader

Mensaje por ignacio »

Oleg,
Thank you for your sample, but as you said is just a base for the work. For
example your code does not support Themes.
I suggest you use a bitmap for the column. Is quite easy to create a bitmap
from two lines of text and surely you know how to do it.
Thank you again for your work. Maybe in the future we decide to support
multiline headers, but right now our goal is to publish the final
Professional version ASAP.
Regards,
"Ignacio Ortiz" <Noname@ozs.com> wrote in message
news:45324831$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Oleg,
>
> You may inherit from THeader class and do it your self.
>
> Regards,
>
>
> "Oleg" <info@cluster.samara.ru> escribió en el mensaje
> news:[email=45312c7d@news.xailer.com...]45312c7d@news.xailer.com...[/email]
>> Ignacio,
>>
>>> A lot of windows control has that OWNERDRAW capability but on that case
>> ALL
>>> the painting must be done by us. A lot of work I assure you.
>>
>> You can use my sample as a base.
>>
>> Regards,
>> Oleg
>>
>>
>>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

TBrwColumn:cHeader

Mensaje por NoName »

Oleg,
Thank you for your sample, but as you said is just a base for the work. For
example your code does not support Themes.
I suggest you use a bitmap for the column. Is quite easy to create a bitmap
from two lines of text and surely you know how to do it.
Thank you again for your work. Maybe in the future we decide to support
multiline headers, but right now our goal is to publish the final
Professional version ASAP.
Regards,
"Ignacio Ortiz" <Noname@ozs.com> wrote in message
news:45324831$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Oleg,
>
> You may inherit from THeader class and do it your self.
>
> Regards,
>
>
> "Oleg" <info@cluster.samara.ru> escribió en el mensaje
> news:[email=45312c7d@news.xailer.com...]45312c7d@news.xailer.com...[/email]
>> Ignacio,
>>
>>> A lot of windows control has that OWNERDRAW capability but on that case
>> ALL
>>> the painting must be done by us. A lot of work I assure you.
>>
>> You can use my sample as a base.
>>
>> Regards,
>> Oleg
>>
>>
>>
>
>
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

TBrwColumn:cHeader

Mensaje por Oleg »

Ignacio!
Yes, the main problem in my sample is Themes. I'll try to overcome it.
Now I can do almost all I want with Header at runtime.
But the real solution would be extandable IDE with support
of third-party components :)
I wait for it with impatience :)
Thank you for your time.
Regards,
Oleg
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

TBrwColumn:cHeader

Mensaje por Oleg »

Ignacio!
Yes, the main problem in my sample is Themes. I'll try to overcome it.
Now I can do almost all I want with Header at runtime.
But the real solution would be extandable IDE with support
of third-party components :)
I wait for it with impatience :)
Thank you for your time.
Regards,
Oleg
Responder