I have a data entry form which include a container class that has navigation buttons in it.
I would like to assign ON KEY LABEL to each of the button so that the user can press ALT+F to execute the 'Search' botton. I put the ON KEY LABEL command in the 'Activate' event for the main form.
THe following line of code return a error ("THISFORM can only used within a method."
. Please help and give advice.
ON KEY LABEL ALT+F THISFORM.grptoolbar.jk_cmdbtn10.click
(I am not sure the above code is correct but I would like to automatic click the button when ALT+F is pressed...)
Please advice.
I would like to assign ON KEY LABEL to each of the button so that the user can press ALT+F to execute the 'Search' botton. I put the ON KEY LABEL command in the 'Activate' event for the main form.
THe following line of code return a error ("THISFORM can only used within a method."
ON KEY LABEL ALT+F THISFORM.grptoolbar.jk_cmdbtn10.click
(I am not sure the above code is correct but I would like to automatic click the button when ALT+F is pressed...)
Please advice.