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