Get List of Currently Opened Forms

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 3
Joined: Jul 20, 2011
Company:

I need to get the list of currently opened forms (documents, catalogs, data processors) from my data processor and get an access to its data for editing and calling procedures and functions of these forms. Is there a way to do that?

 
#2
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Mar 15, 2012
Company: no

ClientApplicationWindows = GetWindows();
For k = 0 to ClientApplicationWindows.Count()-1 Do

ClientWindow = ClientApplicationWindows[k];
ContentForm = ClientWindow.GetContent();

EndDo;

 
#3
People who like this:0Yes/0No
Active user
Rating: 3
Joined: Jul 20, 2011
Company:

Thanks, Mikhail!

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.