how to change border color of a Edit Control

Will anyone tell me how to change the border
color of a EditBox.
I have made the Ctrl3D property to false.
Now I need to change the color of the
border.



Comments

  • : Will anyone tell me how to change the border
    : color of a EditBox.
    : I have made the Ctrl3D property to false.
    : Now I need to change the color of the
    : border.
    :
    :
    :
    :
    You cannot change the border color of the TEdit, because that is determined by windows. You can remove the border by setting the BorderStyle to bsNone. If you place a TShape underneath the edit, you can use that to give the edit a border.
  • : : Will anyone tell me how to change the border
    : : color of a EditBox.
    : : I have made the Ctrl3D property to false.
    : : Now I need to change the color of the
    : : border.
    : :
    : :
    : :
    : :
    : You cannot change the border color of the TEdit, because that is determined by windows. You can remove the border by setting the BorderStyle to bsNone. If you place a TShape underneath the edit, you can use that to give the edit a border.
    :


    Thanks Zibadian.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories