Line break in selection prompt (Tooltip)

Line break in selection prompt (Tooltip)

romu51
Advocate Advocate
293 Views
3 Replies
Message 1 of 4

Line break in selection prompt (Tooltip)

romu51
Advocate
Advocate

Hi all,

I'm trying to add some text to a selection prompt and would like to have a line break instead of a one liner.

i tried Chr(10) and (13) but it's not doing it.

what's the trick?

 

 Dim oFrontFace As Face
    oFrontFace = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kPartFaceFilter, "Select Surface to Place Text On."& CHR(13)+chr(10)& " Ideally select front face or you can rearrange the geometries in the sketch later")

romu51_0-1688545558959.png

 

0 Likes
294 Views
3 Replies
Replies (3)
Message 2 of 4

FINET_Laurent
Advisor
Advisor

Hi @romu51

 

I'm not sure this is possible.. It works for strings display as intended, but not in this case :

MsgBox("Select Surface to Place Text On." & vbCrLf & "Ideally select front face or you can rearrange the geometries in the sketch later")
ThisApplication.CommandManager.Pick(SelectionFilterEnum.kPartFaceFilter, "Select Surface to Place Text On." & vbCrLf & "Ideally select front face or you can rearrange the geometries in the sketch later")

 

Kind regards,

FINET L.

 

If this post solved your question, please kindly mark it as "Solution"

If this post helped out in any way to solve your question, please drop a "Like"

@LinkedIn     @JohnCockerill

0 Likes
Message 3 of 4

romu51
Advocate
Advocate

Thanks, 

it works fine for the message box, unfortunately not for the onscreen prompt. 

0 Likes
Message 4 of 4

FINET_Laurent
Advisor
Advisor

...That's what I'm trying to proove. I don't think what you are asking is possible.

 

Kind regards,

FINET L.

If this post solved your question, please kindly mark it as "Solution"

If this post helped out in any way to solve your question, please drop a "Like"

@LinkedIn     @JohnCockerill