Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15463

[RESOLVED] Textbox Sizing Anomaly

$
0
0
I have two textboxes next to each other on my main form (not in frames) with no text yet added. However, the set font of both is the same: Microsoft Sans Serif, Bold, 18.

Using VB6's menu, as normal, I select both textboxes (select text2 first, then with Ctrl key, select text1) and opt to set as same size, BOTH height and width. You should be able to see in this image that text2 is 'taller' than text1. In fact, its property shows a Height of 555, while the Height of Text1 is 480 (my desired Height of both). When using the menu bar to make same size (both), the 555 height remains on text2 even though text1's Height is 480. So, then I simply went to the properties of text2 and typed in 480, but when I leave that field, it reverts to 555.

I've included all the properties in the image below so you can compare...only Name, forecolor, left, TabIndex and tops are different.
What (simple thing) am I missing?

Name:  TextBoxAnomoly.JPG
Views: 44
Size:  82.6 KB
Attached Images
 

Viewing all articles
Browse latest Browse all 15463

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>