.NET

Reply
Contributor
mark
Posts: 14
Registered: ‎12-30-2003
Message 1 of 2 (187 Views)

PromptStringOptions allow spaces? How?

187 Views, 1 Replies
02-07-2007 11:16 AM
I'm wondering if someone can help me out here. I got this code below I think in the Labs or maybe a post here on this forum. Well I'm trying to allow the user to enter spaces when they type in the response to me string. I found ".allowspaces = true" But when I append it to the end of the PrompStringOptions I get an invalid sytax.

So can someone help me adjust my code to allow strings.



Dim ed As Editor = Application.DocumentManager.MdiActiveDocument.Editor

Dim pr2 As PromptStringOptions = New PromptStringOptions("Type your Instant Message: ")
Dim res2 As PromptResult = ed.GetString(pr2)
*Kerry Brown
Message 2 of 2 (187 Views)

Re: PromptStringOptions allow spaces? How?

02-07-2007 12:09 PM in reply to: mark
See your thread at theSwamp

/// kwb


wrote in message news:5478566@discussion.autodesk.com...
I'm wondering if someone can help me out here. I got this code below I think
in the Labs or maybe a post here on this forum. Well I'm trying to allow the
user to enter spaces when they type in the response to me string. I found
".allowspaces = true" But when I append it to the end of the
PrompStringOptions I get an invalid sytax.

So can someone help me adjust my code to allow strings.



Dim ed As Editor = Application.DocumentManager.MdiActiveDocument.Editor

Dim pr2 As PromptStringOptions = New PromptStringOptions("Type your
Instant Message: ")
Dim res2 As PromptResult = ed.GetString(pr2)
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.