All:
Thanks Jan and Dennis.
Here's what works:
1. The [ On_Before_Start | On_Before_Design_Action ] EEPs of the form
include the line:
SET VAR vbtn_HardCheese TEXT = ('Hard'+(CHAR(013))+'Cheese')
2. The [ On_After_Start ] EEP includes the line:
PROPERTY btn_HardCheese CAPTION .vbtn_HardCheese
3. The button control [ btn_HardCheese ] has the caption: 'Caption' just to
show the text alignment during the design process
Appreciate your help.
Bruce
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dennis
McGrath
Sent: Thursday, September 05, 2013 9:33 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Bit-Button Caption Word-Wrap Fail
No brute force needed
In your after start code add something like:
set var vBtnCaption = ('One' + CHAR(13) + 'Two') property btnWhatever
CAPTION .vBtnCaption
Dennis McGrath
Software Developer
QMI Security Solutions
1661 Glenlake Ave
Itasca IL 60143
630-980-8461
[email protected]
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Bruce A.
Chitiea
Sent: Thursday, September 05, 2013 11:06 AM
To: RBASE-L Mailing List
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