SYLVAIN Posted October 21, 2008 Share Posted October 21, 2008 Hello Thanks to Charles Chandler's great post about extended properties of objects Events, i begin to manage with it. http://www.vectorlab.info/index.php?title=Events Now i have a lot of questions about this ! Documentation is missing. Somebody knows how mode bar buttons or radio can be added and used in tools or PIOs ? I could make them appear in the mode bar with vstAddButtonMode and vstAddRadioMode (not always), but i can't retrieve info from them. How vstGetModeValue can be used ? An Event must be called ? Quote Link to comment
SYLVAIN Posted October 21, 2008 Author Share Posted October 21, 2008 For instance, i made a test with a point PIO. The custom mode bar elements are not visible at the first call of the tool. They only appear at the second time the tool is used. Someone knows which is the value of vsoGetEventInfo that refers to modebar button action ? Quote Link to comment
Miguel Barrera Posted October 21, 2008 Share Posted October 21, 2008 Have you tried debugging vsoGetEventInfo to get the action event number? Since it is for NNA use only and not documented, all you can do is trial and error using the DEBUG directive. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.