David Clinton Posted October 4, 2009 Share Posted October 4, 2009 I Have developed numerous PIOs. I would Like to be able to place an edit button in the object info pallet and present an an editing dialog for each segment of the (usually polylines) PIO path. Could someone provide me with an example of code or direct me to the necessary resources. Thanks, Dave C. User since 1985. Quote Link to comment
Kool Aid Posted October 4, 2009 Share Posted October 4, 2009 (edited) ?Events How to enable the extended plug-in properties and handle script specified events. By Charles Chandler.? http://www.vectorlab.info/index.php?title=Events Plenty of examples. ?Extended Properties Using the Extended Properties features, more behaviors are available to VectorScript objects. Before you start using these advanced features, you should understand that PIOs that use them are three times more complicated than PIOs that do not. The nice thing about "regular" VectorScript objects is that you can get decent results with a minimum of effort. You may not be able to get exactly the behaviors that you want, but what you do get, you get easily. ? Maybe Mr. Chandler exaggerates a bit, but the complexity (and, I'm afraid, unpredictability) is an issue to consider. If you can live with a less-than-perfect user interface, a Boolean parameter to bring up the dialog would be much easier to implement. EDIT But, hey, it is doable! Even I've managed to get a PIO or two to occasionally have and use buttons. Knowing nothing about your program structures, but assuming a thing or two: the ?main? sections have to be restructured. There are caveats: my favourite one is that responsiveness to the Text menu (obj var boolean 800) has to be in the reset loop although it would be logical to require that only in the init section. Edited October 4, 2009 by Kool Aid Quote Link to comment
David Clinton Posted October 4, 2009 Author Share Posted October 4, 2009 Thanks Kool Aid I'll follow up on your lead! 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.