Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listing methods of an object
Message
From
01/03/1999 21:15:04
Km Kwun
Eastop Consultants Limited
Nt, Hong Kong
 
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00191843
Message ID:
00192971
Views:
20
>You may be right; I haven't written code to do what you're looking to do, so it could be a complete waste of time. My thought was to save where you are and activate the object-hunting code with the first keystroke, and get all the gory details with the second, returning to the thing you were working on before you started object hunting.
>
>AMOUSEOBJ works with the topmost form by default, so that you can mouse and dialog around to bring whatever it is you like to the top; having saved the WONTOP() with the first keystroke, you can go back there once you find what you were looking for. At least in theory, as long as you don't close the window you were working in, you can even bring new things to the screen before pressing the second key.
>
>Once you've selected the correct thing, you can take the object reference from the AMOUSEOBJ() and pass it into ASELOBJ(); remember, what's returned by AMOUSEOBJ() is an object reference, not a name.
>
>Sorry if this wasn't what you were looking to do; it just looked to be a possible path for you to explore.
>
>Ed

Ed,

Thank you very much for your inspiration and valuable information.

Ben
Previous
Reply
Map
View

Click here to load this message in the networking platform