Default properties on designer changed on base change my property


Author
Message
Fabian R Silva, -
Fabian R Silva, -
StrataFrame User (317 reputation)StrataFrame User (317 reputation)StrataFrame User (317 reputation)StrataFrame User (317 reputation)StrataFrame User (317 reputation)StrataFrame User (317 reputation)StrataFrame User (317 reputation)StrataFrame User (317 reputation)StrataFrame User (317 reputation)
Group: StrataFrame Users
Posts: 153, Visits: 1.2K
I see that If I set a "default" property (example: the "cursor" property of a form set to "default"), the designer don't put code on designer, and the property not are "Bold"



I like to inherit "control1" with some default property on the base, but that property on base are inherited of some Base2 and If I change the default property of the base2 don't like that this change the base and "control1" property... (that are set to default) I have to change it programmatically? (because if I set it on base to the default value, it not overwrite the base2 property)



I think that a better question is: ¿can I set a property to a default value without the base can change that?



more graphically:

Control1 : Base : Base2



something like a default property "Color = RED" on base 2



and I like that control1 and Base have the property "RED" still if base2 change it



I can do it editing the designer or I have to set any "default" property (to me) on load or something else? thanks!!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search