Label to textbox ?

  • Thread starter Thread starter SpookiePower
  • Start date Start date
S

SpookiePower

I have a lot of labels on my forms, thats makes all my forms flicker.
Allen Browne gave me tips help -
http://allenbrowne.com/ser-46.html
But I can't see in the code what he is doing to the label/textbox.

Insted of running Allens code every time I put a label on I form,
I would like to remove the box fromt the textbox myself so they look
like at label. Is it possible in the propperties of a textbox, and how ?
 
--
JCoulson
Live Well .. Be Happy In All You Do


SpookiePower said:
I have a lot of labels on my forms, thats makes all my forms flicker.
Allen Browne gave me tips help -
http://allenbrowne.com/ser-46.html
But I can't see in the code what he is doing to the label/textbox.

Insted of running Allens code every time I put a label on I form,

I would like to remove the box fromt the textbox myself so they look
like at label.

Is it possible in the propperties of a textbox, and how ?
What you want to do is change the properties of border from solid to transparent.

If your forms are flickering it may be more of a question about your display
adapter and memory.
 
Jeff C said:
If your forms are flickering it may be more of a question about your display
adapter and memory.


No it's not that. The flickering stops when I goes from label to textboxes.
 
Hi.

If all you want to do is convert a Label to a TextBox, you can right-click
on the Label in Form Design mode, then click Change To | Text Box.

However, you will then probably need to change some of the properties of the
TextBox in order to make it look more like a Label. A better solution would
be to just use Allen's code, which takes care of that for you automatically.
You don't have to run the code every time you add a Label, but only once
after you have placed all your controls on the form.

-Michael
 
Back
Top