If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
tab caption width extra space
In the caption on the tab control I want more space at the end of the
caption. I can enter spaces on the left of the content in the caption. This works fine. How can I widen the 'bump' with the caption to get space at the end? This is to look nice. Thanks. |
#2
|
|||
|
|||
|
#3
|
|||
|
|||
"Rick Brandt" wrote in message
... "Jim B" Jim wrote in message ... In the caption on the tab control I want more space at the end of the caption. I can enter spaces on the left of the content in the caption. This works fine. How can I widen the 'bump' with the caption to get space at the end? This is to look nice. Thanks. You have to put a character at the right end or the spaces will be truncated. I usually go with something like... . My wider caption . It still looks (pretty) good. I've tried other characters, but usually end up going back to periods as they are the least noticeable. Ok after doing the above several times over the years it just suddenly dawned on me after my first reply. "I wonder if the trailing spaces wouldn't be truncated if I applied them in code?" Sure enough. If you use the Open event of your form to assign the captions in code you can include trailing spaces and they stay there just fine. Me.TabControlName("PageName").Caption = " SomeText " -- I don't check the Email account attached to this message. Send instead to... RBrandt at Hunter dot com |
#4
|
|||
|
|||
"Rick Brandt" wrote: "Rick Brandt" wrote in message ... "Jim B" Jim wrote in message ... In the caption on the tab control I want more space at the end of the caption. I can enter spaces on the left of the content in the caption. This works fine. How can I widen the 'bump' with the caption to get space at the end? This is to look nice. Thanks. You have to put a character at the right end or the spaces will be truncated. I usually go with something like... . My wider caption . It still looks (pretty) good. I've tried other characters, but usually end up going back to periods as they are the least noticeable. Ok after doing the above several times over the years it just suddenly dawned on me after my first reply. "I wonder if the trailing spaces wouldn't be truncated if I applied them in code?" Sure enough. If you use the Open event of your form to assign the captions in code you can include trailing spaces and they stay there just fine. Me.TabControlName("PageName").Caption = " SomeText " -- I don't check the Email account attached to this message. Send instead to... RBrandt at Hunter dot com |
#5
|
|||
|
|||
"Rick Brandt" wrote: "Rick Brandt" wrote in message ... "Jim B" Jim wrote in message ... In the caption on the tab control I want more space at the end of the caption. I can enter spaces on the left of the content in the caption. This works fine. How can I widen the 'bump' with the caption to get space at the end? This is to look nice. Thanks. You have to put a character at the right end or the spaces will be truncated. I usually go with something like... . My wider caption . It still looks (pretty) good. I've tried other characters, but usually end up going back to periods as they are the least noticeable. Ok after doing the above several times over the years it just suddenly dawned on me after my first reply. "I wonder if the trailing spaces wouldn't be truncated if I applied them in code?" Sure enough. If you use the Open event of your form to assign the captions in code you can include trailing spaces and they stay there just fine. Me.TabControlName("PageName").Caption = " SomeText " -- I don't check the Email account attached to this message. Send instead to... RBrandt at Hunter dot com Your second reply was super! This is just the simple solution I was looking for. I never would have thought of that. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Justify Extra Space | Lynn | Formatting Long Documents | 1 | August 23rd, 2004 10:18 PM |
Macro/Formula percentage problem | Frank Kabel | Worksheet Functions | 1 | May 26th, 2004 08:10 PM |
Extra Space | Lynette | Mailmerge | 4 | May 21st, 2004 08:29 PM |
Newbie Question on Extra Space After Numeric Values | Yellowbird | Worksheet Functions | 3 | March 8th, 2004 05:40 PM |