General information
Category:
Object Oriented Programming
>Hi Herman!
>
>Thank you for our ideas and code. I came up with a similar solution using a function called, amazingingly enough, SetProp! (brilliant minds think alike!).
>
>For those following this thread, I don't use Herman's SETALL() line because I want to redirect specific parent properties to specific child object properties.
>
>The function technique works ok, but I'm still looking for a transparent way to do the same thing via regular assignment statements.
>
>Instead of:
>
>SetProp( This, "fontname", "arial" )
>
>I would like to do:
>
>This.FontName = "Arial"
>
>... and have a This_Assign and/or BindEvent() lookup the property being assigned and determine which (if any) child object property should be updated.
>
>Hope this makes sense to someone besides me :)
>
Malcolm
Need more details, if you have a FontName property in the container and you change its value you want all contained objects that have the same FontName property to update its value too?
Or you want to be able to choose which contained objects should "bind" to the container property with the same name?
Carlos
PS: Check your mailbox
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only