Brute force being a time-honored technique, it'll do unless/until there's
something a tad more officially finessed out there.

Thanks, Jan.

Bruce

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of jan johansen
Sent: Thursday, September 05, 2013 9:16 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Bit-Button Caption Word-Wrap Fail

This works BUT may not be what you want.

Set Bit button caption text to left justified

Enter the caption of "Hard             Cheese"
(some random number of spaces)
Play with the width of the button to get it to look right.

I just did this with a button I'm working on and it looked fine.

-----Original Message-----
From: "Bruce A. Chitiea" <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Thu, 5 Sep 2013 09:06:27 -0700
Subject: [RBASE-L] - Bit-Button Caption Word-Wrap Fail

> 
> 
> All:
> 
>  
> 
> RBase eXtreme 9.5(64) Latest
> 
>  
> 
> I've tried two ways to word-wrap a caption on a bit button.
> 
>  
> 
> I'd like the phrase 'Hard Cheese' to wrap on the button as:
> 
>  
> 
> Hard
> 
> Cheese
> 
>  
> 
> Entering this as the Caption String:
> 
>  
> 
> ('Hard'+(CHAR(013))+'Cheese')
> 
>  
> 
> ... produces a Button Caption display of:
> 
>  
> 
> ('Hard'+(CHAR(013))+'Cheese')
> 
>  
> 
>  
> 
> With a variable setup in EEPs: [ On_Before_Design | On_Before_Start ]:
> 
>  
> 
> SET VAR vbtn_HardCheese TEXT = ('Hard'+(CHAR(013))+'Cheese')
> 
>  
> 
> ... entering this as the Caption String:
> 
>  
> 
> &&vbtn_HardCheese
> 
>  
> 
> ... produces a Button Caption display of:
> 
>  
> 
> &vbtn_HardCheese 
> 
>  
> 
>  
> 
> ??? and thanks again.
> 
>  
> 
> Bruce
> 


Reply via email to