Hi,

I am using an Editbox control in VFP9. Now I need to format all the
keyed in text into this edit box control in the uppercase format. How
can I do this? I tried to set the value of ! for UPPERCASE in the
FORMAT property. But from VFP help it seems this value works only for
the edit box but not edit box control? If so, is there any other work
around like setting some other property...


Thanks,
Chakra

Re: Use Format on Editbox Control by Bernhard

Bernhard
Mon Mar 10 07:19:07 CDT 2008

Hi chakra,

> I am using an Editbox control in VFP9. Now I need to format all the
> keyed in text into this edit box control in the uppercase format. How
> can I do this? I tried to set the value of ! for UPPERCASE in the
> FORMAT property. But from VFP help it seems this value works only for
> the edit box but not edit box control? If so, is there any other work
> around like setting some other property...

You could add some code to KeyPress or InteractiveChange event to convert the
input or text to upper case.

Regards
Bernhard Sander

RE: Use Format on Editbox Control by Allan

Allan
Tue Mar 11 05:09:01 CDT 2008

use the capslock() instead...

"chakra" wrote:

> Hi,
>
> I am using an Editbox control in VFP9. Now I need to format all the
> keyed in text into this edit box control in the uppercase format. How
> can I do this? I tried to set the value of ! for UPPERCASE in the
> FORMAT property. But from VFP help it seems this value works only for
> the edit box but not edit box control? If so, is there any other work
> around like setting some other property...
>
>
> Thanks,
> Chakra
>