Hi,
I am using a DBBrowse with lFastEdit set to .T. and have all columns
nEditType set to beGET. So far it's all working ok...but i was trying to
limit the length of all oGridEdit this way:
METHOD BrwColumnGridEditCreate( oSender ) CLASS TForm1
oSender:oGridEdit:nMaxLength := oSender:oDataField:nLen
RETURN Nil
And it's not working...What am i doing wrong ?
Thanks.
Aguiar
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.
oGridEdit
oGridEdit
Aguiar,
> I am using a DBBrowse with lFastEdit set to .T. and have all columns
> nEditType set to beGET. So far it's all working ok...but i was trying to
> limit the length of all oGridEdit this way:
>
> METHOD BrwColumnGridEditCreate( oSender ) CLASS TForm1
>
> oSender:oGridEdit:nMaxLength := oSender:oDataField:nLen
>
> RETURN Nil
>
> And it's not working...What am i doing wrong ?
Use the property nEditLength from TBrwColumn
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> I am using a DBBrowse with lFastEdit set to .T. and have all columns
> nEditType set to beGET. So far it's all working ok...but i was trying to
> limit the length of all oGridEdit this way:
>
> METHOD BrwColumnGridEditCreate( oSender ) CLASS TForm1
>
> oSender:oGridEdit:nMaxLength := oSender:oDataField:nLen
>
> RETURN Nil
>
> And it's not working...What am i doing wrong ?
Use the property nEditLength from TBrwColumn
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
oGridEdit
Aguiar,
> I am using a DBBrowse with lFastEdit set to .T. and have all columns
> nEditType set to beGET. So far it's all working ok...but i was trying to
> limit the length of all oGridEdit this way:
>
> METHOD BrwColumnGridEditCreate( oSender ) CLASS TForm1
>
> oSender:oGridEdit:nMaxLength := oSender:oDataField:nLen
>
> RETURN Nil
>
> And it's not working...What am i doing wrong ?
Use the property nEditLength from TBrwColumn
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> I am using a DBBrowse with lFastEdit set to .T. and have all columns
> nEditType set to beGET. So far it's all working ok...but i was trying to
> limit the length of all oGridEdit this way:
>
> METHOD BrwColumnGridEditCreate( oSender ) CLASS TForm1
>
> oSender:oGridEdit:nMaxLength := oSender:oDataField:nLen
>
> RETURN Nil
>
> And it's not working...What am i doing wrong ?
Use the property nEditLength from TBrwColumn
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
oGridEdit
Jose,
I missed that property...thanks, it's working fine now.
Regards
Aguiar
"Jose F. Gimenez" <jfgimenez@wanadoo.es> escreveu na mensagem
news:45c1e8c3$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Aguiar,
>
>> I am using a DBBrowse with lFastEdit set to .T. and have all columns
>> nEditType set to beGET. So far it's all working ok...but i was trying to
>> limit the length of all oGridEdit this way:
>>
>> METHOD BrwColumnGridEditCreate( oSender ) CLASS TForm1
>>
>> oSender:oGridEdit:nMaxLength := oSender:oDataField:nLen
>>
>> RETURN Nil
>>
>> And it's not working...What am i doing wrong ?
>
> Use the property nEditLength from TBrwColumn
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
>
I missed that property...thanks, it's working fine now.
Regards
Aguiar
"Jose F. Gimenez" <jfgimenez@wanadoo.es> escreveu na mensagem
news:45c1e8c3$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Aguiar,
>
>> I am using a DBBrowse with lFastEdit set to .T. and have all columns
>> nEditType set to beGET. So far it's all working ok...but i was trying to
>> limit the length of all oGridEdit this way:
>>
>> METHOD BrwColumnGridEditCreate( oSender ) CLASS TForm1
>>
>> oSender:oGridEdit:nMaxLength := oSender:oDataField:nLen
>>
>> RETURN Nil
>>
>> And it's not working...What am i doing wrong ?
>
> Use the property nEditLength from TBrwColumn
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
>
oGridEdit
Jose,
I missed that property...thanks, it's working fine now.
Regards
Aguiar
"Jose F. Gimenez" <jfgimenez@wanadoo.es> escreveu na mensagem
news:45c1e8c3$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Aguiar,
>
>> I am using a DBBrowse with lFastEdit set to .T. and have all columns
>> nEditType set to beGET. So far it's all working ok...but i was trying to
>> limit the length of all oGridEdit this way:
>>
>> METHOD BrwColumnGridEditCreate( oSender ) CLASS TForm1
>>
>> oSender:oGridEdit:nMaxLength := oSender:oDataField:nLen
>>
>> RETURN Nil
>>
>> And it's not working...What am i doing wrong ?
>
> Use the property nEditLength from TBrwColumn
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
>
I missed that property...thanks, it's working fine now.
Regards
Aguiar
"Jose F. Gimenez" <jfgimenez@wanadoo.es> escreveu na mensagem
news:45c1e8c3$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Aguiar,
>
>> I am using a DBBrowse with lFastEdit set to .T. and have all columns
>> nEditType set to beGET. So far it's all working ok...but i was trying to
>> limit the length of all oGridEdit this way:
>>
>> METHOD BrwColumnGridEditCreate( oSender ) CLASS TForm1
>>
>> oSender:oGridEdit:nMaxLength := oSender:oDataField:nLen
>>
>> RETURN Nil
>>
>> And it's not working...What am i doing wrong ?
>
> Use the property nEditLength from TBrwColumn
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
>