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.

Problem with TDBComboBox

Xailer professional forum in English
Responder
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

Problem with TDBComboBox

Mensaje por Timm »

Hi!
I want to edit a 50 character long database field with TDBComboBox (nStyle =
csDROPDOWN).
I can select an item that is for example 20 characters long but I am not
able to insert additional characters.
Any ideas?
Best regards, Timm.
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9246
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Problem with TDBComboBox

Mensaje por ignacio »

Timm escribió el jue, 23 junio 2011 11:05Hi!
I want to edit a 50 character long database field with TDBComboBox (nStyle =
csDROPDOWN).
I can select an item that is for example 20 characters long but I am not
able to insert additional characters.
Any ideas?
Best regards, Timm.
Try with the property nMaxLength.
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

Problem with TDBComboBox

Mensaje por Timm »

Ignacio,
> Try with the property nMaxLength.
I did, with no success.
Best regards, Timm.
"Ignacio Ortiz de Zúñiga" <nonametoavoidspam@xailer.com> schrieb im
Newsbeitrag news:4e0465fd$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Timm escribió el jue, 23 junio 2011 11:05
>> Hi!
>>
>> I want to edit a 50 character long database field with
>> TDBComboBox (nStyle = csDROPDOWN).
>> I can select an item that is for example 20 characters
>> long but I am not able to insert additional characters.
>>
>> Any ideas?
>>
>> Best regards, Timm.
>
>
> Try with the property nMaxLength.
>
> Regards,
> --
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer/Xailer team]
> http://www.xailer.com
> http://www.xailer.info
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9246
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Problem with TDBComboBox

Mensaje por ignacio »

Timm escribió el vie, 24 junio 2011 14:53Ignacio,
> Try with the property nMaxLength.
I did, with no success.
Best regards, Timm.

I have just tested with samplesdatacontrolsdbfdata1 on DbComboBox1 and it seems to work correctly that property.
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

Problem with TDBComboBox

Mensaje por Timm »

The problem is that automatic horizontal scolling while editing the ComboBox
does not work.
Please set the width of the state combobox in dbfdata1 to 70 and try to
insert "123456789".
Your will be not able to insert "89".
Best regards, Timm.
"Ignacio Ortiz de Zúñiga" <nonametoavoidspam@xailer.com> schrieb im
Newsbeitrag news:4e083dd5$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Timm escribió el vie, 24 junio 2011 14:53
>> Ignacio,
>>
>> > Try with the property nMaxLength.
>> I did, with no success.
>>
>> Best regards, Timm.
>
>
> I have just tested with samplesdatacontrolsdbfdata1 on
> DbComboBox1 and it seems to work correctly that property.
>
> Regards,
> --
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer/Xailer team]
> http://www.xailer.com
> http://www.xailer.info
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9246
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Problem with TDBComboBox

Mensaje por ignacio »

Timm escribió el mar, 28 junio 2011 06:02The problem is that automatic horizontal scolling while editing the ComboBox
does not work.
Please set the width of the state combobox in dbfdata1 to 70 and try to
insert "123456789".
Your will be not able to insert "89".
Best regards, Timm.

Set lAutoHScroll to .T.
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

Problem with TDBComboBox

Mensaje por Timm »

Ignacio,
works, many thanks!
Best regards, Timm.
"Ignacio Ortiz de Zúñiga" <nonametoavoidspam@xailer.com> schrieb im
Newsbeitrag news:4e09cdc3$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Timm escribió el mar, 28 junio 2011 06:02
>> The problem is that automatic horizontal scolling while
>> editing the ComboBox does not work.
>> Please set the width of the state combobox in dbfdata1
>> to 70 and try to insert "123456789".
>> Your will be not able to insert "89".
>>
>> Best regards, Timm.
>
>
> Set lAutoHScroll to .T.
>
> Regards, --
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer/Xailer team]
> http://www.xailer.com
> http://www.xailer.info
Responder