NativeWindow.title change


my air application uses multiple windows.  has worked fine several years, in previous applications, business logic worked fine using rule there never more single window acting view container piece of functionality.  now, need allow user have multiple, concurrently open windows each providing view same piece of functionality.

 

so, previous code -- iterating through nativeapplication's list of openedwindows -- instead of preventing multiple occurrences, needs nicely increment suffix window.title, viz.:

 

        something

        {1}

        {2}

 

that working fine, of course, me nicer present:

 

        {0}

        {1}

        {2}

 

the challenge new window creation logic has access well-behaved list of open native windows.  search of forums shows believed can change title of open native window changing title property.  finding not true.  can change value, not reflected in title bar.  nativewindow.title value changed on assignment, evidently display depends upon there being change window.title property in order force displayed value appear.

 

ok, create/maintain list of openwindows , synchronize contents nativeapplication's list of openwindows, rather not.  rather able obtain reference underlying window object nativewindow object.  and, rather imagine many before me have encountered similar need.  there way that have missed, or enhancement request?



More discussions in Developers


adobe

Comments

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい