cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
vince_faller
Super User (Alumni)

Hello, 

I'm feeling dumb this morning because I swear this is a thing but can't get it to work.  

Names Default to here(1);
New Window("Test", 
	Buttonbox("Back", 
		<<Set Icon("StepBackward"),
		<<Set Icon Location("Left"),
		<<Set Font Size(20)
	)
)

 

 

Vince Faller - Predictum
1 ACCEPTED SOLUTION

Accepted Solutions
mpl34
Level III

Re: <

I couldn't find a way to change button sizes in jmp 12 before and gave up. Have you been able to do this? My log is saying buttonbox doesn't take the setfontsize message:

 

The display box 'ButtonBox' does not recognize the message 'Set Font Size'; perhaps you mean one of these: <<Set Content Size <<Get Content Size <<Set Window Size <<Set Function <<Set Icon <<Set Button Name <<Get Button Name <<Get Icon <<Set Icon Location <<Get Icon Location <<Set Menu Items <<Get Menu Items <<Set Menu Item State <<Get Menu Item State <<Set Menu Choice <<Get Menu Choice <<Open Next Outline <<Set Script <<Encrypt Script <<Get Function <<Set Tip <<Inval Size <<Set Report Title <<Set Window Title <<Get Annotation <<Restore Window Size <<Get Text <<Save Text <<Save RTF <<Get Window Size <<Get Window Title <<Set Window Title <<Set Window Icon <<On Close <<Set Main Window <<Set Print Headers <<Set Print Footers <<Set Page Setup <<Get Size <<SetNotStretchable <<Get Min Size <<Set Min Size <<Get Max Size <<Set Max Size <<Set Auto Stretching <<Get Auto Centering <<Set Auto Centering <<Get Row States <<Set Width <<Set Property <<Get Properties.

View solution in original post

2 REPLIES 2
mpl34
Level III

Re: <

I couldn't find a way to change button sizes in jmp 12 before and gave up. Have you been able to do this? My log is saying buttonbox doesn't take the setfontsize message:

 

The display box 'ButtonBox' does not recognize the message 'Set Font Size'; perhaps you mean one of these: <<Set Content Size <<Get Content Size <<Set Window Size <<Set Function <<Set Icon <<Set Button Name <<Get Button Name <<Get Icon <<Set Icon Location <<Get Icon Location <<Set Menu Items <<Get Menu Items <<Set Menu Item State <<Get Menu Item State <<Set Menu Choice <<Get Menu Choice <<Open Next Outline <<Set Script <<Encrypt Script <<Get Function <<Set Tip <<Inval Size <<Set Report Title <<Set Window Title <<Get Annotation <<Restore Window Size <<Get Text <<Save Text <<Save RTF <<Get Window Size <<Get Window Title <<Set Window Title <<Set Window Icon <<On Close <<Set Main Window <<Set Print Headers <<Set Print Footers <<Set Page Setup <<Get Size <<SetNotStretchable <<Get Min Size <<Set Min Size <<Get Max Size <<Set Max Size <<Set Auto Stretching <<Get Auto Centering <<Set Auto Centering <<Get Row States <<Set Width <<Set Property <<Get Properties.

txnelson
Super User

Re: <

The definative source is

    Help=>>Scripting Index==>Button Box

for the options and messages that can be applied to the Button Box display box.  It provides no capability to change the button box font. However, you can set an Icon that will be used, and that icon can have any graphical object in it that you want.

Jim