Jump to content

Rollo62

Members
  • Content Count

    1913
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by Rollo62

  1. Rollo62

    Change the background color of a TEdit

    You mean "Edit Custom Style..." will be gone in 10.3, because I still have it stioll available in 10.2.3 ? This would be a major change in possibilities of the style system, from where do you have that information ?
  2. Rollo62

    Change the background color of a TEdit

    Just a fast test ... You can e.g. add a custum style by rightclick on the Edit1. This will open Stylebook, with some automatic naming. I usually use my own names, e.g. with starting "_", to easier find them again in that possible long list of styles. Analyse the control, and add or change what you like. E.g. you can add TRectangle in the style, as I did here. Other controls may have direct access to colors, rectangles, etc. With the added rectangle, you can add a specific name, here "background_rect", and you can find and access this as you wish. ! The Edit1.StyleLookup must of coarse now get the new style name "_myeditstyle", to switch to that. I hope that helps to show one possible options howto customize the styles. Rollo T223_EditStyle.zip
×