: 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.
Comments
:
: 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.
: :
: : 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.