Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Xbase Fox > Re: VFP 9: Func...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 7 Topic 854 of 861
Post > Topic >>

Re: VFP 9: Function Keys

by Sergey Berezniker <spam@[EMAIL PROTECTED] > Jul 20, 2008 at 09:22 PM

Gene,

It's not a bug but do***ented behavior. According to VFP help for 
FKLABEL() function, "The value of nFunctionKeyNumber should be from 0 
through the number of function keys minus 1"

Would following work for you?

FOR i=1 TO FKMAX()
	? FKLABEL(i-1), ON("Key", FKLABEL(i-1))
ENDFOR


-- 
--sb--

VFP MVP

  Wirchenko wrote:
>      I have a function key setup that I use in development.  Some of
> the keys I do not use that much.  It would be handy to be able to
> press, say <F12>, and get a listing of the function key assignments.
> 
>      I can not see anything for doing this.  It appears that the only
> way to get this is to parse the output of list status.  This is less
> than optimal.
> 
>      Am I overlooking something?
> 
>      In searching, I see what appears to be a bug with fkmax().  It
> appears to return a value that is too high by one.  The labelling
> starts with <F2> (which is fklabel(1)).  fklabel(fkmax()) returns an
> empty string.  This is the case with both settings of set compatible.
> 
> Sincerely,
> 
> Gene Wirchenko
> 
> Computerese Irregular Verb Conjugation:
>      I have preferences.
>      You have biases.
>      He/She has prejudices.
 




 7 Posts in Topic:
VFP 9: Function Keys
Gene Wirchenko <genew@  2008-07-20 17:30:38 
Re: VFP 9: Function Keys
Sergey Berezniker <spa  2008-07-20 21:22:10 
Re: VFP 9: Function Keys
Gene Wirchenko <genew@  2008-07-21 17:24:34 
Re: VFP 9: Function Keys
"Christof Wollenhaup  2008-07-21 10:57:29 
Re: VFP 9: Function Keys
Gene Wirchenko <genew@  2008-07-21 17:21:59 
Re: VFP 9: Function Keys
"Christof Wollenhaup  2008-07-22 06:44:50 
Re: VFP 9: Function Keys
Gene Wirchenko <genew@  2008-07-22 11:07:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 10:52:07 CST 2008.