At 03:21 PM 9/5/2013, Bruce A. Chitiea wrote:

I replicated your test here by halving the width of the bit button, forcing
a wrap. That works.

But. This means that on a form where consistent look and feel of button
controls matters, button width is variably 'hostage' to caption word breaks.
We might get them all to wrap, but possibly at the price of inconsistent
widths.


Bruce,

You shouldn't have to compromise nor muck with the width of the button(s).

For your viewing pleasure, take a look at the sample ...

http://www.razzak.com/tips/Multi_Line_Button_Captions.jpg

Form Name: Multi_Line_Buttons_Captions

Involved Buttons:
. Push Button
. Bit Button
. Speed Button
. Drop-Down Menu Button

-- On Before Start EEP
   SET VAR vCaption TEXT = ('Line 1'+(CHAR(013))+(CHAR(013))+'Line 2')
   RETURN

-- On After Start EEP
   PROPERTY Push_Button CAPTION .vCaption
   PROPERTY Bit_Button CAPTION .vCaption
   PROPERTY Speed_Button CAPTION .vCaption
   PROPERTY Drop_Down_Menu_Button CAPTION .vCaption
   RETURN

That's all there is to it!

Very Best R:egards,

Razzak.

www.rbase.com
www.facebook.com/rbase
--
30+ years of continuous innovation!
15 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
--


Reply via email to