Simple question about properties

Hey everyone,

Just a small question thats been giving me some trouble:

How is it possible for me to edit an image's controlstyle to include the property "csopaque"?

Thanks in advance

Comments

  • : Hey everyone,
    :
    : Just a small question thats been giving me some trouble:
    :
    : How is it possible for me to edit an image's controlstyle to include the property "csopaque"?
    :
    : Thanks in advance
    :
    If the ControlStyle is a writable property, you can simply use ca cade like this:
    [code]
    Image.ControlStyle := Image.ControlStyle + csOpaque;
    [/code]
    Otherwise you can possibly only change it using another property.
  • : : Hey everyone,
    : :
    : : Just a small question thats been giving me some trouble:
    : :
    : : How is it possible for me to edit an image's controlstyle to include the property "csopaque"?
    : :
    : : Thanks in advance
    : :
    : If the ControlStyle is a writable property, you can simply use ca cade like this:
    : [code]
    : Image.ControlStyle := Image.ControlStyle + [csOpaque];
    : [/code]
    : Otherwise you can possibly only change it using another property.
    :
    This value is excluded in Controls that support transparency, adding it yourself won't make a control opaque/tranparent. This flag is for the VCL an indication to handle this control in a different way while drawing and invalidating.



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