cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
volf
Staff (Retired)

fix text edit box width

Hi Jumpers,

As to fix Text edit box width, I put some spaces into Text edit box.

I want to know another way to fix Text edit box width.

regard
Volf.

Message was edited by: volf
3 REPLIES 3

Re: fix text edit box width

This thread may help:

http://support.sas.com/forums/thread.jspa?messageID=37505銁
volf
Staff (Retired)

Re: fix text edit box width

Thank you David,

Your recommeded article contain to set dimensions of list box. This information is also very useful.

and I hope to know to set dimensions of Text Edit box. Specially, to set Text Edit Box width is strongly required.

regard
pmroz
Super User

Re: fix text edit box width

This is an old post but I had the same issue and figured it out. You can set the width of a text edit box in a New Dialog window as shown in the following example.

win = New Window( "Example",
text = Text Edit Box( "Example Text" )
);
text << Set Width( 200 );


This is taken from JMP 9, Help > Displaybox Scripting > Text Edit Box > Set Width.

I put the width inside the dialog box as follows, which is a bit easier to follow if you have a lot of things in the dialog box:

win = New Window( "Example",
text = Text Edit Box( "Example Text", << Set Width( 200 ))
);

Regards,
Peter