>In VFP 5.0, I have created a method in a form to copy the value of certain fields to the clipboard memory.
>
>In the Init of the form I am trying to call that method with but I don't know how.
>
>I have tried the following:
>ON KEY LABEL Alt+C DO Thisform.ToClipBoard()
>
>I don't want a button.
>
>Can anyone help?
What's exaclty the problem?
BTW, you cannot use 'Thisform' in ON KEY LABEL. However, you can use real form reference, or use Form.Keypress event.
Edward Pikman
Independent Consultant