G
Guest
Hi, i want to make an ambient property for my control.
i have the ambient part working just fine , but in order to make this work
correctly in designtime i need to be able to set the "DefaultValue" of the
property dynamicly (not via [defaultvalue] attrib)
i mean , when placing a control on a form , the control get the same color
as the parent control , and the color is "defaulted"/"unchanged" it shows up
in the propbrowser as unchanged (not bold) and it does not persist to the
initialize code
what should i do to accomplis the same?
should i make a typeconverter? typeeditor? controldesigner?
what?
//Roger
i have the ambient part working just fine , but in order to make this work
correctly in designtime i need to be able to set the "DefaultValue" of the
property dynamicly (not via [defaultvalue] attrib)
i mean , when placing a control on a form , the control get the same color
as the parent control , and the color is "defaulted"/"unchanged" it shows up
in the propbrowser as unchanged (not bold) and it does not persist to the
initialize code
what should i do to accomplis the same?
should i make a typeconverter? typeeditor? controldesigner?
what?
//Roger