window property and the inspector behavior

Hi folks,

Just tried this today, and was wondering if it is “a bug or a feature” …:wink:

create a new subclass of anycontrol item, add a property inside of type window
right clic the class to get the inspector behavior, and check the window property just added.
then if you drop an instance of this new subclass on a window, you can see the window property, and choose among the available windows of your project.
nice. that is what I wanted to achieve.
but as soon as you leave the popup menu with the windows, the property becames blank !
is there a workaround ?

thanks.

[quote=475639:@Jean-Yves Pochez]Hi folks,

Just tried this today, and was wondering if it is “a bug or a feature” …:wink:

create a new subclass of anycontrol item, add a property inside of type window
right clic the class to get the inspector behavior, and check the window property just added.
then if you drop an instance of this new subclass on a window, you can see the window property, and choose among the available windows of your project.
nice. that is what I wanted to achieve.
but as soon as you leave the popup menu with the windows, the property becames blank !
is there a workaround ?

thanks.[/quote]
Let’s just say that I’m not surprised that this does not work. Not that it couldn’t though.

should I file a bug report ?

A feature request would be more appropriate.