.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PromptStringOptions allow spaces? How?

1 REPLY 1
Reply
Message 1 of 2
mark
514 Views, 1 Reply

PromptStringOptions allow spaces? How?

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)
1 REPLY 1
Message 2 of 2
Anonymous
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)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost