Fuge Posted June 17, 2002 Share Posted June 17, 2002 Not sure if this helps your dialog question but,try this:---------------Procedure Testdialog;VARmystring:STRING;BEGIN mystring:= StrDialog('Enter Something',''); message(mystring);END;Run (Testdialog);------------------If you leave the string field blank the dialog box will not dismiss. Something has to be typed inor the cancel button must be clicked. With domenutextbyname the way your trying to call each rotate menu item needs to be done a little differently. check out the domenutextbyname constants at: http://www.nemetschek.net/support/custom/vscript/functionref/VSFunctionReference.html Fuge Quote Link to comment
ruud van de meent Posted June 18, 2002 Author Share Posted June 18, 2002 following vs funtions don't oparate well, using Win 2000, VW 9.1: StrDialog, the Dialog shows up, but doesn't react to the keyboard (IntDialog works though). DoMenuTextByName('Rotate',1 to 5) gives an vs script error. DoMenuTextByName('Rotate',0) is the only one that works well. :confused: 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.