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:nDataWidth()

Foro público de Xailer en español
Responder
Aguiar Costa
Mensajes: 115
Registrado: Jue Jun 01, 2006 7:21 pm

TbrwColumn:nDataWidth()

Mensaje por Aguiar Costa »

Hi,
Ignacio gave an example on how to calculate a browse column width :
WITH OBJECT oCol := ::oAbrowse:aCols[nFor]
:nWidth := Max( :nWidth, :DataWidth() )
END WITH
But nDataWidth rases an error saying that method is protected...Is it
possible for you (Xailer's developers) to create a method or property to
adjust the columns automatically the same way it does when we dblclick a
column separator ? That would be great to every one, i gess !!!
TIA.
Aguiar !!!
Yamil Bracho
Mensajes: 64
Registrado: Mar Jun 28, 2005 2:53 am

TbrwColumn:nDataWidth()

Mensaje por Yamil Bracho »

I asked for the same feature...
"Aguiar Costa" <Aguiar.Costa@Sisbit.pt> wrote in message
news:[email=442a8ff4@ozsrvnegro.ozlan.local...]442a8ff4@ozsrvnegro.ozlan.local...[/email]
> Hi,
>
> Ignacio gave an example on how to calculate a browse column width :
> WITH OBJECT oCol := ::oAbrowse:aCols[nFor]
> :nWidth := Max( :nWidth, :DataWidth() )
> END WITH
>
> But nDataWidth rases an error saying that method is protected...Is it
> possible for you (Xailer's developers) to create a method or property to
> adjust the columns automatically the same way it does when we dblclick a
> column separator ? That would be great to every one, i gess !!!
> TIA.
> Aguiar !!!
>
>
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9442
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TbrwColumn:nDataWidth()

Mensaje por ignacio »

Yamil & Aguiar,
Done! Its name is TBrwColumn:AdjustWidth()
It will be ready for next release.
Regards,
"Yamil Bracho" <YamilBracho@hotmail.com> escribió en el mensaje
news:[email=442a9bfd@ozsrvnegro.ozlan.local...]442a9bfd@ozsrvnegro.ozlan.local...[/email]
>I asked for the same feature...
>
> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> wrote in message
> news:[email=442a8ff4@ozsrvnegro.ozlan.local...]442a8ff4@ozsrvnegro.ozlan.local...[/email]
>> Hi,
>>
>> Ignacio gave an example on how to calculate a browse column width :
>> WITH OBJECT oCol := ::oAbrowse:aCols[nFor]
>> :nWidth := Max( :nWidth, :DataWidth() )
>> END WITH
>>
>> But nDataWidth rases an error saying that method is protected...Is it
>> possible for you (Xailer's developers) to create a method or property to
>> adjust the columns automatically the same way it does when we dblclick a
>> column separator ? That would be great to every one, i gess !!!
>> TIA.
>> Aguiar !!!
>>
>>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Aguiar Costa
Mensajes: 115
Registrado: Jue Jun 01, 2006 7:21 pm

TbrwColumn:nDataWidth()

Mensaje por Aguiar Costa »

Ignacio,
Thank you very much. That was fast...Xailer's support is really good :)
Regards
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:442aac6f$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Yamil & Aguiar,
>
> Done! Its name is TBrwColumn:AdjustWidth()
>
> It will be ready for next release.
>
> Regards,
>
> "Yamil Bracho" <YamilBracho@hotmail.com> escribió en el mensaje
> news:[email=442a9bfd@ozsrvnegro.ozlan.local...]442a9bfd@ozsrvnegro.ozlan.local...[/email]
>>I asked for the same feature...
>>
>> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> wrote in message
>> news:[email=442a8ff4@ozsrvnegro.ozlan.local...]442a8ff4@ozsrvnegro.ozlan.local...[/email]
>>> Hi,
>>>
>>> Ignacio gave an example on how to calculate a browse column width :
>>> WITH OBJECT oCol := ::oAbrowse:aCols[nFor]
>>> :nWidth := Max( :nWidth, :DataWidth() )
>>> END WITH
>>>
>>> But nDataWidth rases an error saying that method is protected...Is it
>>> possible for you (Xailer's developers) to create a method or property to
>>> adjust the columns automatically the same way it does when we dblclick a
>>> column separator ? That would be great to every one, i gess !!!
>>> TIA.
>>> Aguiar !!!
>>>
>>>
>>
>>
>
>
Yamil Bracho
Mensajes: 64
Registrado: Mar Jun 28, 2005 2:53 am

TbrwColumn:nDataWidth()

Mensaje por Yamil Bracho »

Thanks a lot, Ignacio.
"Aguiar Costa" <Aguiar.Costa@Sisbit.pt> wrote in message
news:442ab96e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Ignacio,
> Thank you very much. That was fast...Xailer's support is really good :)
> Regards
> Aguiar !!!
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
> news:442aac6f$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> > Yamil & Aguiar,
> >
> > Done! Its name is TBrwColumn:AdjustWidth()
> >
> > It will be ready for next release.
> >
> > Regards,
> >
> > "Yamil Bracho" <YamilBracho@hotmail.com> escribió en el mensaje
> > news:[email=442a9bfd@ozsrvnegro.ozlan.local...]442a9bfd@ozsrvnegro.ozlan.local...[/email]
> >>I asked for the same feature...
> >>
> >> "Aguiar Costa" <Aguiar.Costa@Sisbit.pt> wrote in message
> >> news:[email=442a8ff4@ozsrvnegro.ozlan.local...]442a8ff4@ozsrvnegro.ozlan.local...[/email]
> >>> Hi,
> >>>
> >>> Ignacio gave an example on how to calculate a browse column width :
> >>> WITH OBJECT oCol := ::oAbrowse:aCols[nFor]
> >>> :nWidth := Max( :nWidth, :DataWidth() )
> >>> END WITH
> >>>
> >>> But nDataWidth rases an error saying that method is protected...Is it
> >>> possible for you (Xailer's developers) to create a method or property
to
> >>> adjust the columns automatically the same way it does when we dblclick
a
> >>> column separator ? That would be great to every one, i gess !!!
> >>> TIA.
> >>> Aguiar !!!
> >>>
> >>>
> >>
> >>
> >
> >
>
>
zeasoftware
Mensajes: 1831
Registrado: Mar Oct 11, 2005 9:53 am

TbrwColumn:nDataWidth()

Mensaje por zeasoftware »

Se puede hacer que el pie del browse lleve el total de los datos de la
columna?
ya le di vueltas y no le hallo como hacerlo.
agradecere alguna ayuda.
Ramón Zea
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9442
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TbrwColumn:nDataWidth()

Mensaje por ignacio »

Ramon,
oCol:cFooter := Str( nTotal )
Logicamente nTotal lo debes de calcular tu con anterioridad.
Saludos,
"Ramón Zea" <zeasoftware@hotmail.com> escribió en el mensaje
news:[email=442b0297@ozsrvnegro.ozlan.local...]442b0297@ozsrvnegro.ozlan.local...[/email]
> Se puede hacer que el pie del browse lleve el total de los datos de la
> columna?
>
> ya le di vueltas y no le hallo como hacerlo.
>
> agradecere alguna ayuda.
>
> Ramón Zea
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder