Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
.NET
»
Topic:
current selected object
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: current selected object (Read 3876 times)
0 Members and 1 Guest are viewing this topic.
Draftek
Guest
current selected object
«
on:
March 30, 2006, 09:19:45 AM »
I'm creating a context menu for some objects. I used the Editor.SelectedLast() method as a selection set but this is not returning what I thought it should.
Does anyone know how to caputure the currently selected item?
Thanks
Logged
Chuck Gabriel
Guest
Re: current selected object
«
Reply #1 on:
March 30, 2006, 12:16:47 PM »
I'm not sure about .NET, but the COM object model provides access to pre-selected objects via the PickfirstSelectionSet property of the Document object. Maybe that will help you get pointed in the right direction.
Logged
Draftek
Guest
Re: current selected object
«
Reply #2 on:
March 30, 2006, 01:18:07 PM »
Thanks, Chuck.
I'll take a look at that. It sounds like just the thing...
Logged
Alexander Rivilis
Bull Frog
Posts: 214
Programmer from Kyiv (Ukraine)
WWW
Re: current selected object
«
Reply #3 on:
March 30, 2006, 04:25:29 PM »
Or
Editor.SelectPrevious
or
Editor.SelectImplied
Logged
Draftek
Guest
Re: current selected object
«
Reply #4 on:
March 31, 2006, 07:34:30 AM »
Thanks, I'll try out both.
Logged
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
.NET
»
Topic:
current selected object