Thanks, Dennis. I am so there.

Bruce

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dennis
McGrath
Sent: Thursday, September 05, 2013 2:10 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Bit-Button Caption Word-Wrap Fail: Success&Recap

This method works regardless of the width of the button.
You do not have to sacrifice control consistence to get the desired effect.
Also, font changes do not affect whether it will wrap or not.

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 jan johansen
Sent: Thursday, September 05, 2013 2:45 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Bit-Button Caption Word-Wrap Fail: Success &Recap

Bruce,

Tried this in 9.5 64 ver 20829

ON BEFORE START EEP
SET VAR vButtonCaption TEXT = ('Hard' + (CHAR(013)) +'Cheese') 

ON AFTER START EEP
PROPERTY TestButton CAPTION .vButtonCaption 

I have a button now caption
   Hard
  Cheese

It is a bit button.

Jan


-----Original Message-----
From: "Bruce A. Chitiea" <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Thu, 5 Sep 2013 12:21:03 -0700
Subject: [RBASE-L] - RE: Bit-Button Caption Word-Wrap Fail: Success &Recap

> Got you. I was thinking the words were embedded graphically within the 
> icon/glyph.
> 
> 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.
> 
> Still, more than one way to get there.
> 
> Thanks, Albert!
> 
> Bruce
> 
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Albert 
> Berry
> Sent: Thursday, September 05, 2013 12:12 PM
> To: RBASE-L Mailing List
> Subject: [RBASE-L] - RE: Bit-Button Caption Word-Wrap Fail: Success 
> &Recap
> 
> I suppose the caption is graphically constructed. Here's what I did 
> for testing purposes:
> 
> Button width 100
> Button height  40
> MS Sans Serif 10 Bold.
> Caption Alignment Centered
> Caption "Hard Cheese"
> 
> With or without glyph, the caption was two lines, centered word over 
> word.
> 
> Albert
> 
> 
> On 9/5/2013 12:59 PM, Bruce A. Chitiea wrote:
> > ... meaning IMAGE 'Hard Cheese' is graphically constructed within 
> > the
> icon?
> >
> > Bruce
> >
> > -----Original Message-----
> > From: [email protected] [mailto:[email protected]] On Behalf Of
> Albert
> > Berry
> > Sent: Thursday, September 05, 2013 11:44 AM
> > To: RBASE-L Mailing List
> > Subject: [RBASE-L] - RE: Bit-Button Caption Word-Wrap Fail: Success 
> > &Recap
> >
> > I just did this on the latest 9.5 (64)
> >
> > Created a bit button
> > Glyph from large icon file
> > Caption "Hard Cheese"
> > Caption alignment Center
> > Size the button to show two lines.
> >
> >
> >
> 
> 


Reply via email to