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!!
Replies
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'm still very Visual FoxPro - Minded and some things like that on .net not are implemented.

In VFP if you select the default property and "set" it on the designer, it will be overwriten. and with the right mouse button you can default it again :/



I think that it can be done on .Net with hard difficulty coding and some weird and strange logic Tongue Crazy



Thanks for the Clear answers that you give to me on every post.





StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Thanks for the Clear answers that you give to me on every post.

Thanks, I wouldn't say I'm always clear, but I try to explain things as much as possible Wink

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