473,471 Members | 1,695 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Comboxbox.height = textbox.height?

Is there any way to get a combobox to be the same height as a textbox?

The combo defaults to 21px and text defaults to 20... and I see no way
to change either one to match the other.

Thanks,

Matt
Nov 21 '05 #1
2 2230
"MATT" <so*******@somewhere.com> schrieb:
Is there any way to get a combobox to be the same height as a textbox?


Setting the height of a combobox control
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=comboboxheight&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #2
Herfried K. Wagner [MVP] wrote:
"MATT" <so*******@somewhere.com> schrieb:
Is there any way to get a combobox to be the same height as a textbox?

Setting the height of a combobox control
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=comboboxheight&lang=en>

Thanks Herfried, Just what I was looking for!

Matt
Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Phil Stanton | last post by:
I am trying to create a text box in Word the same height as one on a report and then fill it with text. I can "read" the position of the text box from the report OK and create a text box in Word...
2
by: Chuck Bowling | last post by:
I'm trying to figure out how I can get the minumum height required for a textbox containing a string in a given font with a set width and also the converse, the minimum required width of a textbox...
1
by: Olav Tollefsen | last post by:
I have a MultiLine TextBox to which I add text like this: TextBox1.Attributes.Add("style","overflow :hidden"); TextBox1.Text = "Line 1\r\nLine 2\r\nLine 3"; The number of lines added to the...
10
by: liups | last post by:
Hi, I have a multi-line textbox that accepts text input, I want it to adjust its height according to the text it holds, so I use a SendMessage API to get the line count of the text, then set the...
2
by: Tor Inge Rislaa | last post by:
How to change row height in a DataGrid I have DataGrid that is filled with data from a table in a DataSet. The content of the cells is text of more than one line (as a note field). What I...
1
by: polocar | last post by:
Ciao a tutti, leggendo qua e là per il forum ho scoperto che non sono l'unico ad avere questo problema. Se si inserisce un controllo ComboBox in un form di C#, non è possibile impostare la sua...
1
by: tshad | last post by:
I have 2 objects - one an aspx textbox object and one an html Input object: <asp:TextBox ID="UserName" CssClass="top-links" style="height:10px" Columns="12" runat="server"/> <input...
2
by: Doug | last post by:
I have a form with a clients info. There is a subform with messages (date field and a textbox). There can be multiple messages per client. The row height of the message text box in the subform is...
0
by: AAaron123 | last post by:
In an asp.tablecell I have a textbox. The row has two cells. Sometimes the textbox is the tallest and sometimes the other cell is the tallest. When the other cell is that tallest I like to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.