G
Greg
I am used to using third party controls when it comes to setting up
appearences. But, now I am using Visual Basic.Net controls that come standard
with the product. I've come across a frustration situation with the combo box
and text box controls.
I setup the text box control appearence settings the way I want the control
to appear. Basically, I have set the "Border Style=FixedSingle", which
results in the control taking on a flat appearence and a black border around
the control.
Now, I want to make my combo box take on the same appearence, as I like all
of the controls in my application to take on the same characteristics. Now,
for the combo box I look in the Apperance Group and do not find a "Border
Style" property. The only thing clost to it that I see is the
"FlatStyle=Flat", which makes the combo box control appear flat, but the
border of the control is not highlight with a black border, thus both of my
controls look nothing alike.
Now, I have read some books on VB.Net and if I recall correctly, these
controls inherit from the Control class. I would take this to mean that all
the controls take on the same properties and methods as inherited from the
base control class.
But, what I have found is that both the text box and combo box controls have
different Appearence properties and thus I cannot use a common set of
settings to make the controls look the same, using the same appearance
settings. I come from an Access background, and I always give the controls in
my application the same appearance and it makes my application look very
professional.
How can I make the combo box and text box controls take on the same
appearancees so they look to take on the same Appearance characteristics.
If anyone can help me get these two controls to take on the same appearance
characteristics, that would be greatly appreciated.
Greg
appearences. But, now I am using Visual Basic.Net controls that come standard
with the product. I've come across a frustration situation with the combo box
and text box controls.
I setup the text box control appearence settings the way I want the control
to appear. Basically, I have set the "Border Style=FixedSingle", which
results in the control taking on a flat appearence and a black border around
the control.
Now, I want to make my combo box take on the same appearence, as I like all
of the controls in my application to take on the same characteristics. Now,
for the combo box I look in the Apperance Group and do not find a "Border
Style" property. The only thing clost to it that I see is the
"FlatStyle=Flat", which makes the combo box control appear flat, but the
border of the control is not highlight with a black border, thus both of my
controls look nothing alike.
Now, I have read some books on VB.Net and if I recall correctly, these
controls inherit from the Control class. I would take this to mean that all
the controls take on the same properties and methods as inherited from the
base control class.
But, what I have found is that both the text box and combo box controls have
different Appearence properties and thus I cannot use a common set of
settings to make the controls look the same, using the same appearance
settings. I come from an Access background, and I always give the controls in
my application the same appearance and it makes my application look very
professional.
How can I make the combo box and text box controls take on the same
appearancees so they look to take on the same Appearance characteristics.
If anyone can help me get these two controls to take on the same appearance
characteristics, that would be greatly appreciated.
Greg