Component properties working at designt time but not runtime - ???
Posted
by delphi-rulez-2010
on Stack Overflow
See other posts from Stack Overflow
or by delphi-rulez-2010
Published on 2010-05-04T15:23:15Z
Indexed on
2010/05/04
15:28 UTC
Read the original article
Hit count: 208
I am creating a component that uses a collection and collection items of panels.
I can't seem to get the colors to work at runtime, but yet they seem to work just fine at design time.
You can download the component source code here:
http://www.shaneholmes.net/pasfiles/
There is a Consoles (Tcollection) property, status colors property, and a Edit mode property
Each console (TCollectionItem) has a status property when changed, the consoles property is changed based on the components StatusColors property.
When the components EditMode property is set to true, you can move the panels around at runtime.
Question: Why does the colors only work at designtime and not runtime.
thanks
© Stack Overflow or respective owner