T
TerryStone
I have created a control that displays a list of items. During design
mode I fill it with junk data using calls from the constructor. So
when I look at a form with the control on, instead of being empty, it
has some content, and this gives a better idea of what the form will
look like when run. During runtime it should be empty to start with,
so I comment out the code in the constructor that fills it with dummy
data.
How can I code the control/form so that the constructor knows it is
being shown in design mode?
Thanks in advance for any replies.
(My appologies for use of the term "know" in relation to a software
program.)
mode I fill it with junk data using calls from the constructor. So
when I look at a form with the control on, instead of being empty, it
has some content, and this gives a better idea of what the form will
look like when run. During runtime it should be empty to start with,
so I comment out the code in the constructor that fills it with dummy
data.
How can I code the control/form so that the constructor knows it is
being shown in design mode?
Thanks in advance for any replies.
(My appologies for use of the term "know" in relation to a software
program.)