|
Here, the AutoWrap parameter has been switched off, and Delimiter symbols have been entered into the line of text at the appropriate points to wrap the text neatly within the button dimensions. This has the benefit of allowing blank lines to be entered. The Align parameter is set to 'left'.
<APPLET CODE="ryTextButtonPro.class" ARCHIVE="TextButtonPro.jar" WIDTH=196 HEIGHT=110>
<param name=CabBase value="TextButtonPro.cab">
<param name=Copyright value="TextButton Professional (c) 1997 Cool Focus [www.coolfocus.com]">
<param name=Font value="Dialog,plain,14">
<param name=Label value="This text is delimited and|aligned to the left.| |You might want to do this to|create a more pleasing layout|for the button's label.">
<param name=Align value="left">
<param name=Delimiter value="|">
<param name=AutoWrap value="no">
<param name=LabelColor value="FFFFFF">
<param name=LabelFocusColor value="FF8C00">
<param name=LabelPressedColor value="C00000">
<param name=ButtonColor value="4040C0">
<param name=3D value="color">
<param name=Sound value="NO">
<param name=URL value="$http://www.coolfocus.com">
<param name=Target value="_top">
<param name=Message value="Cool Focus Java Solutions">
</APPLET>
|