Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What was the last object I had focus on?
Message
From
06/08/2010 10:46:29
 
 
To
05/08/2010 16:27:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01475139
Message ID:
01475535
Views:
50
why does it not recognize the baseclass for [commandbutton]? It does not seem to want to pick up on a button and when I try to add it as a baseclass I get errors when I run it.

Because you need to look for this:
toObject.BaseClass
This is case sensistive


I was wondering if there is anything internal in VFP that keeps track of the last object that had focus (kind of like the way lastkey works for the last key pressed on the keyboard), or would I have to store it in memory or a table each time I leave an object?


Not to the best of my knowledge

What is the most efficient way to get this value?

I thought I just gave it to you.
Previous
Reply
Map
View

Click here to load this message in the networking platform