G Guest Mar 18, 2004 #1 Hi I have a combox in from, please tell me align my text in combox in cente thanks
H Herfried K. Wagner [MVP] Mar 18, 2004 #2 * "=?Utf-8?B?UXVvY1R1YW4=?= said: I have a combox in from, please tell me align my text in combox in center Click to expand... You may want to create your own ownerdrawn combobox. You can use 'Graphics.MeasureString' to get the size of a string with a specific font. Samples for ownerdrawn comboboxes: <http://www.codeproject.com/vb/net/flatcombo.asp> <http://www.codeproject.com/cs/combobox/>
* "=?Utf-8?B?UXVvY1R1YW4=?= said: I have a combox in from, please tell me align my text in combox in center Click to expand... You may want to create your own ownerdrawn combobox. You can use 'Graphics.MeasureString' to get the size of a string with a specific font. Samples for ownerdrawn comboboxes: <http://www.codeproject.com/vb/net/flatcombo.asp> <http://www.codeproject.com/cs/combobox/>