Alt- shortcut 
Author Message
 Alt- shortcut

When using buttons  in a form in Paradox 7, one can use &<character> in the
label to enable usage of alt-<character> when the form is run. But  I can't
find where  did  the form keep this  piece  of  information. So  far, I use
Expert  to  create the button  with  the shortcut  I  want and  then change
method(s) associated with this button later. But it beome quite annoying
when I need to change the shortcut charcter after I finished designing all
the methods. Neither on-line help nor the manual said anything about this.

So anyone know where is this information stored ?



Mon, 11 Oct 1999 03:00:00 GMT
 Alt- shortcut

Lin,

I don't know about the form experts in pdox 7, but in v5, you can attach
code to the form's keychar method like this:

        if eventInfo.isPreFilter() then
                ;// This code executes for each object on the form:

        else
                ;// This code executes only for the form:
                switch
                        case eventInfo.vChar() = "I" and eventInfo.isAltkeyDown() :
                                ImportFromUSIButton.pushButton()
                        case eventInfo.vChar() = "E" and eventInfo.isAltKeyDown() :
                                ExportToUSIButton.pushButton()
                        otherwise : dodefault
                endSwitch
        endif

HTH,

Scott

Quote:

> When using buttons  in a form in Paradox 7, one can use &<character> in the
> label to enable usage of alt-<character> when the form is run. But  I can't
> find where  did  the form keep this  piece  of  information. So  far, I use
> Expert  to  create the button  with  the shortcut  I  want and  then change
> method(s) associated with this button later. But it beome quite annoying
> when I need to change the shortcut charcter after I finished designing all
> the methods. Neither on-line help nor the manual said anything about this.

> So anyone know where is this information stored ?

--

http://students.cs.byu.edu/~wiersdor
"For every complex problem, there is
a solution that is simple, neat, and
wrong." -- H. L. Mencken


Fri, 29 Oct 1999 03:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. How To: Alt + (keyboard char) cmdButton Shortcut?

2. CTRL-ALT-DEL, ALT-TAB

3. Alt Tab and Ctrl Alt Del

4. Pdx 3.5 undocumented Alt = & Alt -

5. Results of Alt-minus and Alt-equals command

6. How to disable ALT-TAB, ALT-ESC keys

7. Alt to CASE in view

8. Sending CTRL-ALT-DEL Keystrokes

9. alt.comp.databases,comp.databases,comp.databases.ms-sqlserver

10. Is there an alt. to IsProduct method

11. ctrl+alt+del

12. Disable ctrl+alt+delete in windows NT


 
Powered by phpBB® Forum Software