I know i can set the format of textbox is "!".
However, Once i set it, i cannot change the textbox into small letters.
So , Can I set the keyboard 's default "cap lock on" ???
Thanks

Re: Default Cap Lock on by borisb

borisb
Tue Jun 21 02:31:38 CDT 2005

Agnes wrote:
>
> I know i can set the format of textbox is "!".
> However, Once i set it, i cannot change the textbox into small letters.
> So , Can I set the keyboard 's default "cap lock on" ???
> Thanks
>
>
>
CAPSLOCK(.t.)


Re: Default Cap Lock on by Andrew

Andrew
Tue Jun 21 02:36:11 CDT 2005

"Agnes" <agnes@dynamictech.com.hk> wrote in message
news:urrCxDjdFHA.1040@TK2MSFTNGP10.phx.gbl...
>I know i can set the format of textbox is "!".
> However, Once i set it, i cannot change the textbox into small letters.
> So , Can I set the keyboard 's default "cap lock on" ???

Seems there was a command since VFP8:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp/html/lngcapslocklp_rp.asp

--
HTH
Andrew Howell



Re: Default Cap Lock on by Andrew

Andrew
Tue Jun 21 02:51:57 CDT 2005


"Andrew Howell" <ajh@work> wrote in message
news:e4RSqPjdFHA.2288@TK2MSFTNGP14.phx.gbl...
> "Agnes" <agnes@dynamictech.com.hk> wrote in message
> news:urrCxDjdFHA.1040@TK2MSFTNGP10.phx.gbl...
>>I know i can set the format of textbox is "!".
>> However, Once i set it, i cannot change the textbox into small letters.
>> So , Can I set the keyboard 's default "cap lock on" ???
>
> Seems there was a command since VFP8:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp/html/lngcapslocklp_rp.asp

Actually, a lot longer than that, have it in 2.6 as well..



Re: Default Cap Lock on by Andrew

Andrew
Tue Jun 21 02:59:41 CDT 2005

"Andrew Howell" <ajh@work> wrote in message
news:uBqQcYjdFHA.3712@TK2MSFTNGP12.phx.gbl...
>> Seems there was a command since VFP8:
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp/html/lngcapslocklp_rp.asp
>
> Actually, a lot longer than that, have it in 2.6 as well..

Umm, I hope they've improved it..

Using 2.6 and WinXP, it does work but it doesn't set the indicator on my
keyboard.
If I use Win9x it sets the indicator properly.

The similar NUMLOCK() function doesn't work at all although it returns the
status it *thinks* it has set.
Again, works properly on 9x.



Re: Default Cap Lock on by Fred

Fred
Tue Jun 21 09:50:22 CDT 2005

Must be your computer BIOS or keyboard then. Works fine on my XP/SP2 (a
no-name box that I built from parts).

--
Fred
Microsoft Visual FoxPro MVP


"Andrew Howell" <ajh@work> wrote in message
news:%23znupejdFHA.2076@TK2MSFTNGP15.phx.gbl...
> "Andrew Howell" <ajh@work> wrote in message
> news:uBqQcYjdFHA.3712@TK2MSFTNGP12.phx.gbl...
>>> Seems there was a command since VFP8:
>>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp/html/lngcapslocklp_rp.asp
>>
>> Actually, a lot longer than that, have it in 2.6 as well..
>
> Umm, I hope they've improved it..
>
> Using 2.6 and WinXP, it does work but it doesn't set the indicator on my
> keyboard.
> If I use Win9x it sets the indicator properly.
>
> The similar NUMLOCK() function doesn't work at all although it returns the
> status it *thinks* it has set.
> Again, works properly on 9x.
>



Re: Default Cap Lock on by Andrew

Andrew
Tue Jun 21 10:08:16 CDT 2005

"Fred Taylor" <ftaylor@mvps.org!REMOVE> wrote in message
news:uNj1NCndFHA.412@tk2msftngp13.phx.gbl...
> Must be your computer BIOS or keyboard then. Works fine on my XP/SP2 (a
> no-name box that I built from parts).

Don't forget I said I was using 2.6, this is on XP/SP2.
The same things work fine in a virtual 9x machine on the same box. I'm
willing to place a small bet on something underneath Fox changing between
the OSs in how to set/query these.

--
Regards
Andrew Howell



Re: Default Cap Lock on by Dan

Dan
Tue Jun 21 14:21:03 CDT 2005

Andrew Howell wrote:
> "Andrew Howell" <ajh@work> wrote in message
> news:e4RSqPjdFHA.2288@TK2MSFTNGP14.phx.gbl...
>> "Agnes" <agnes@dynamictech.com.hk> wrote in message
>> news:urrCxDjdFHA.1040@TK2MSFTNGP10.phx.gbl...
>>> I know i can set the format of textbox is "!".
>>> However, Once i set it, i cannot change the textbox into small
>>> letters. So , Can I set the keyboard 's default "cap lock on" ???
>>
>> Seems there was a command since VFP8:
>>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp/html/lngcapslocklp_rp.asp
>
> Actually, a lot longer than that, have it in 2.6 as well..

I think this one goes all the way back to dBaseII. <g>

Dan



Re: Default Cap Lock on by Fred

Fred
Tue Jun 21 20:09:18 CDT 2005

Must be. FPW2.6 changes the state, but not the light. FPD2.6 just flat
does nothing, but it does respect it when I change it from the keyboard.

--
Fred
Microsoft Visual FoxPro MVP


"Andrew Howell" <ajh@work> wrote in message
news:%23HjSvNndFHA.1504@TK2MSFTNGP15.phx.gbl...
> "Fred Taylor" <ftaylor@mvps.org!REMOVE> wrote in message
> news:uNj1NCndFHA.412@tk2msftngp13.phx.gbl...
>> Must be your computer BIOS or keyboard then. Works fine on my XP/SP2 (a
>> no-name box that I built from parts).
>
> Don't forget I said I was using 2.6, this is on XP/SP2.
> The same things work fine in a virtual 9x machine on the same box. I'm
> willing to place a small bet on something underneath Fox changing between
> the OSs in how to set/query these.
>
> --
> Regards
> Andrew Howell
>