Página 1 de 1
oGridEdit
Publicado: Jue Feb 01, 2007 2:05 pm
por Aguiar
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
oGridEdit
Publicado: Jue Feb 01, 2007 2:19 pm
por jfgimenez
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
Publicado: Jue Feb 01, 2007 2:19 pm
por jfgimenez
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
Publicado: Jue Feb 01, 2007 3:34 pm
por Aguiar
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
>
>
oGridEdit
Publicado: Jue Feb 01, 2007 3:34 pm
por Aguiar
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
>
>