Welcome to Clarion Community Sign in | Join | Faq

Clarion Language and Runtime Library

Started by Mark Lancaster at 08-29-2008 2:17 AM. Topic has 2 replies.

Print Search
Sort Posts:    
   08-29-2008, 2:17 AM
Mark Lancaster is not online. Last active: 9/3/2008 4:20:13 PM Mark Lancaster

Top 100 Posts
Joined on 12-09-2006
Posts 5
STD:WindowList
Reply Quote

Hi,

My app has several "modules" on a menu. Each is started with a new thread and I then disable the menu so that a "module" cannot be called more than once. The STD:WindowList is on a menu bar item and nicely lists the open windows so that users can "flip" between them.

Ideally, though, I'd like to get the system to do the same function/feature when they click back on the original menu items. So, for example, if I have a menu item called "Module 1" when this is first selected the new thread will start (and the same for "Module 2", etc) but when they next select "Module 1" it is brought to the front as per the way that STD:WindowList works.

I can get this working at the "top" of the thread, but each thread/module has several child windows and so I don't want to embed code into several hundred procedures.

There must be a way to tap into the features/functions of STD:WindowList but I cannot find any documentation.

Any suggestions?

Thanks,

Mark


   Report 
   09-03-2008, 2:12 AM
lokilim is not online. Last active: 9/17/2008 6:25:38 AM lokilim

Top 50 Posts
Joined on 08-21-2008
Posts 11
Re: STD:WindowList
Reply Quote

http://www.clarionmag.com/col/98-03-dephobia.html#pageTop

you can try this, u no need to embeds 1 by 1, just make a template and use the template.


   Report 
   09-03-2008, 4:22 AM
Mark Lancaster is not online. Last active: 9/3/2008 4:20:13 PM Mark Lancaster

Top 100 Posts
Joined on 12-09-2006
Posts 5
Re: STD:WindowList
Reply Quote

Thanks for that - I was hoping not to have to put the "gain focus" in every child window off a thread (there's probably a 1000 of these) and just be able to tap into the STD: function. Still - if it's the only way ....

Cheers,

Mark


   Report 
Clarion Communi... » Clarion » Clarion Languag... » Re: STD:WindowList

Powered by Community Server, by Telligent Systems