MaxStudio Posted December 5, 2008 Share Posted December 5, 2008 I created a dialog with an EditText box. How do I set what the user types to a variable so that I can create a textfield in vectorworks? I've gotten it to work with string dialogs but not using a modern dialog. I know that if I create an EditReal box I can use a GetEditReal to set the value to a variable, but how do I do that with the text string? I haven't found a GetEditText that I can use to set the text to a string variable.... please help Quote Link to comment
ccroft Posted December 6, 2008 Share Posted December 6, 2008 I've never needed to do this, but it seems you can use GetField. Should be good for about 2 years at least. (see post on legacy dialog by Lyndsey). Quote Link to comment
MaxStudio Posted December 8, 2008 Author Share Posted December 8, 2008 Thanks Ccroft I'll try that do you know if there is a better way to allow a user to input text in a dialog box and then have it create the text in a text box in vectorworks? Quote Link to comment
ccroft Posted December 9, 2008 Share Posted December 9, 2008 Presumably there's something else going on here... Choice box with pre-defined strings perhaps? Symbol with linked text from attached record maybe? (no scripting required) Can't really remember how this works but it's in help. I think it lets you type in Object Info Data pane and have it show up in the symbol in the drawing. The symbol could contain a text box. 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.