cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Neo
Neo
Level VII

Window with custom text with background colour in JSL

I would like to create a window with user defined text (in this case "Parameter 1") and pass it to a journal in a H List box (this part I should be able to do).

How to create such a bordered box/window/panel in JSL - I need control on the size of the box and preferably also on the background colour (say grey to start with)?

VdummyWindow.PNG

When it's too good to be true, it's neither
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Window with custom text with background colour in JSL

Border Box, Text Box and Spacer Boxes (to control size) should get you what you want

Names Default To Here(1);
win = New Window("Example",
	Border Box(Sides(15), << Set Background Color("Gray"),
		fontobj = text = Text Box("Example Text", << Rotate Text("left"))
	)
);

jthi_0-1643047232422.png

 

-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: Window with custom text with background colour in JSL

Border Box, Text Box and Spacer Boxes (to control size) should get you what you want

Names Default To Here(1);
win = New Window("Example",
	Border Box(Sides(15), << Set Background Color("Gray"),
		fontobj = text = Text Box("Example Text", << Rotate Text("left"))
	)
);

jthi_0-1643047232422.png

 

-Jarmo

Recommended Articles