Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jamie Osborn
  Where is Jamie Osborn?
 Melbourne
 Australia
 Jamie Osborn
 To: Boudewijn Lutgerink
  Where is Boudewijn Lutgerink?
 Hoonaardstraat, Driel
 Netherlands
 Boudewijn Lutgerink
 Tags
Subject: RE: function key problem
Thread ID: 34096 Message ID: 34148 # Views: 1 # Ratings: 0
Version: Visual FoxPro 7 Category: Forms
Date: Wednesday, December 10, 2003 12:14:23 AM         
   


> > > I am trying to call a method when the user presses a function key. This is the code that I'm using:
> > >
> > > init :
> > > on key label F10 thisform.SomeMethod()
> > >
> > > SomeMethod :
> > > wait window 'Do some very cool stuff here!'
> > >
> > > When I run this code and hit F10 I get a error saying 'thisform can only be used within a method'
> > > Any ideas? The safety of the free world rests on the completion of this project.
> >
> > Try ON KEY LABEL F10 _screen.activeform.SomeMethod()
> >
> > Cheers,
> > Jamie
> > jamie.osborn@foxite.com
>
> Ehhhhrrrm, this code works, However, I get the message "Too late, the world is already in the dark and evil hands of M$"
>
> From my machine's speaker I get this cackling laughter with as background sound (oh horror) the noise of fire and breaking memorybanks and screaming Processors.
> Is this it!? Is this the day of the final judgement? Is the real name of BG then truly Big Satan?
>
> And can anybody tell me why there is blood coming from the opening in the case of my machine where the fan is supposed to be?
>
>
> Boudewijn LutgeĀ®ink
> Boudewijn.Lutgerink@foxite.com
> It's better to drive safely in five o'clock traffic than be featured on the six o'clock news.

I have to admit ... I've missed the point here ! Am I dense ?

Cheers,
Jamie
jamie.osborn@foxite.com

ENTIRE THREAD

function key problem Posted by Ron Haggin @ 12/8/2003 11:53:52 PM
RE: function key problem Posted by Jamie Osborn @ 12/9/2003 1:23:42 AM
RE: function key problem Posted by Boudewijn Lutgerink @ 12/9/2003 9:38:30 AM
RE: function key problem Posted by Jamie Osborn @ 12/10/2003 12:14:23 AM
RE: function key problem Posted by Ron Haggin @ 12/10/2003 12:25:07 AM
RE: function key problem Posted by Jamie Osborn @ 12/10/2003 3:04:33 AM
RE: function key problem Posted by Boudewijn Lutgerink @ 12/10/2003 8:04:24 AM
RE: function key problem Posted by Ron Haggin @ 12/9/2003 11:14:48 PM