Posts: 599
Threads: 31
Joined: May 2009
I just noticed that for a normal command button I can get the button text to be on 2 or even 3 or more lines. Is this possible to do for a field check box too? No matter what I do I can't get a carriage return. If not possible is it something that could be added for consistency?
example:
Command button:
-------------------
Garage Door
Opener
------------------
Check Box:
-------------------
Garage Door Opener
-------------------
How can I get the word opener on the 2nd line so it stays within the button outline nicely?
Thanks
Posts: 40,483
Threads: 491
Joined: Aug 2002
Currently that's not possible. It could be done of course. I'll put it on the list o' things to do, but it'll likely be post-4.5 before it could be gotten to. It's too late in the process to be making those types of changes. We gotta wrap this one up.
Dean Roddey
Explorans limites defectum
Posts: 599
Threads: 31
Joined: May 2009
(05-21-2014, 05:49 AM)Dean Roddey Wrote: Currently that's not possible. It could be done of course. I'll put it on the list o' things to do, but it'll likely be post-4.5 before it could be gotten to. It's too late in the process to be making those types of changes. We gotta wrap this one up.
Hi Dean,  In searching for an answer to something I just noticed I came across an old post of mine...
Been meaning to check into this for a while...  I noticed that now even for a regular command button Text will not longer go onto two lines.  I recall reading this in one of the Beta threads but thought it was addressed but after upgrading it is not.  I can't seem to figure out how to get text onto two lines to display on a command button.  Is this possible or has something changed?
Posts: 40,483
Threads: 491
Joined: Aug 2002
There's a 'no wrap' attribute that controls this. Are you turning that off? That should work now as of the betas.
Dean Roddey
Explorans limites defectum
Posts: 599
Threads: 31
Joined: May 2009
Yeah.  No Wrap unchecked but you just clued me into how to make it work which is what i recall reading a while back.
What I was doing: Click to edit text an edit window pops up.  If I try to press enter at the end of the first word to go to the next line and enter a 2nd word it just closes the window.  
What I did was add a bunch of spaces after the first word and now it is on the 2nd line.  So that works, just a bit tricky to figure out vs what you would expect in like say a standard text editor where you just ad a <cr>.  Good news is the field check box buttons work now over 2 lines of text too.
Thanks for the quick help!
Posts: 40,483
Threads: 491
Joined: Aug 2002
The issue with the editor is that the default button is triggered when you do Enter. Hold down Ctrl and hit enter to actually enter a new line. I could get rid of the default button on that dialog.
Dean Roddey
Explorans limites defectum
Posts: 599
Threads: 31
Joined: May 2009
02-25-2017, 10:05 PM
(This post was last modified: 02-25-2017, 10:07 PM by Shaky.)
Ahh, I see. I'll use ctrl for now. Yeah, that might be a good idea to get rid of that default action on that one and any like that. I wonder if a default of No Wrap to False would be better too.