Alexandre Villares Posted June 27, 2002 Share Posted June 27, 2002 I can't make CallTool(-200) nor SetTool work (i.e. call the Text Tool) from inside a plug-in tool (as oposed to a plug-in menu command). It seems to change tools while the mouse is pressed but it becomes worthless as a text tool. Can anyone please confirm there is something wrong? [ 06-27-2002: Message edited by: Alexandre B A Villares ] Quote Link to comment
Alexandre Villares Posted July 5, 2002 Author Share Posted July 5, 2002 Can someone (from NNA) please answer? Quote Link to comment
Guest Posted July 10, 2002 Share Posted July 10, 2002 My VERY casual testing confirms this... Could be, that while in one tool, another tool cannot be called. This may be an effect of non-reentrant limitations of the VS compiler--i.e. that you can't stop one piece of compiled code, execute another, (the text tool), and then pick up executing where you left off in the first piece... but I can't say for sure. : ) Quote Link to comment
Matthew Giampapa Posted July 10, 2002 Share Posted July 10, 2002 Well I can't get it to work as expected either. I suppose this is why all of our products use dialog boxes to enter text and then just create the text box with something like... BeginText;'VectorScript created text object'EndText; I suspect it is a fundamental limitation of VectorScript at this time, but it may be possible to do with the C++ SDK. It looks to me that CallTool() is not waiting for the text system to finish with the text box and is exiting immediately. I'll put this in as a bug and see if I can get a more official explanation. Matthew GiampapaNNA Technical Support 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.