Dialog box font

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Dialog box font

Feriel P
 Hi everybody,
I did a quick search on the forums but couldn't quite figure it out. Does
anyone have a  simple macro command to bold, underline, or italicize the
text and field labels in dialog boxes? Can the fonts be changed? This would
help greatly in creating macros for users unfamiliar with ImageJ, where
bolding/underlining instructions in dialog boxes would reduce errors
by emphasizing their importance. Any suggestions/workarounds would be
greatly appreciated.
Best,
-Feriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Dialog box font

Herbie
Feriel,

please have a look at the "Built-in Macro Functions"-manual that is
available via:
<http://rsb.info.nih.gov/ij/developer/index.html>

Here are the two dialogs that may help:

Dialog.addHelp(url)
Adds a "Help" button that opens the specified URL in the default
browser. This can be used to supply a help page for this dialog or
macro. With v1.46b or later, displays an HTML formatted message if 'url'
starts with "<html>" (example).

showMessage("title", "message")
Displays "message" in a dialog box using "title" as the the dialog box
title. Can display HTML formatted text (example).

HTH

Herbie

::::::::::::::::::::::::::::::::::::::
Am 04.02.16 um 21:06 schrieb Feriel P:

>   Hi everybody,
> I did a quick search on the forums but couldn't quite figure it out. Does
> anyone have a  simple macro command to bold, underline, or italicize the
> text and field labels in dialog boxes? Can the fonts be changed? This would
> help greatly in creating macros for users unfamiliar with ImageJ, where
> bolding/underlining instructions in dialog boxes would reduce errors
> by emphasizing their importance. Any suggestions/workarounds would be
> greatly appreciated.
> Best,
> -Feriel
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html