Hi
Is there a way to programmatically minimize the workfile window? If not, would it be possible to add this function?
Thomas
Minimize workfile window
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Posts: 540
- Joined: Fri Apr 15, 2011 5:35 am
Re: Minimize workfile window
It would be great if one could programmatically minimize and maximize all eviews objects
Thomas
Thomas
-
- EViews Developer
- Posts: 790
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: Minimize workfile window
I'm looking into it.
-
- Posts: 540
- Joined: Fri Apr 15, 2011 5:35 am
Re: Minimize workfile window
That's great news!
-
- Posts: 540
- Joined: Fri Apr 15, 2011 5:35 am
Re: Minimize workfile window
Hi Steve
Any progress on how to programatically minimize and maximize all eviews objects?
Thomas
Any progress on how to programatically minimize and maximize all eviews objects?
Thomas
-
- EViews Developer
- Posts: 790
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: Minimize workfile window
Yes, the following changes will be in the next patch for EViews 10 & 11...
New Commands:
Note: If multiple windows have the same name, all of them will be affected.
Also, the WINCLOSE command was created just for completeness. It just calls CLOSE.
Updated SHOW command:
Since it would be a bit wordy to call SHOW, and then WINMAXIMIZE to display a series in maximized view, I added some new options to the SHOW command to do it all in one step:
max option makes the window become maximized
min option makes the window become minimized
normal option makes the window become normally sized (neither maximized nor minimized) from any current state
restore option makes a minimized window revert back to previous state, or a maximized window back to normal, or does nothing if window is already normal
Note: the SHOW command still doesn't work on workfile windows.
Steve
New Commands:
- WINMAXIMIZE
WINMINIMIZE
WINNORMAL
WINRESTORE
WINCLOSE
Note: If multiple windows have the same name, all of them will be affected.
Also, the WINCLOSE command was created just for completeness. It just calls CLOSE.
Updated SHOW command:
Since it would be a bit wordy to call SHOW, and then WINMAXIMIZE to display a series in maximized view, I added some new options to the SHOW command to do it all in one step:
- SHOW(max|min|normal|restore) ..argument(s)...
max option makes the window become maximized
min option makes the window become minimized
normal option makes the window become normally sized (neither maximized nor minimized) from any current state
restore option makes a minimized window revert back to previous state, or a maximized window back to normal, or does nothing if window is already normal
Note: the SHOW command still doesn't work on workfile windows.
Steve
-
- Posts: 540
- Joined: Fri Apr 15, 2011 5:35 am
Re: Minimize workfile window
great Steve, thanks, it is highly appreciated!
Thomas
Thomas
-
- Posts: 540
- Joined: Fri Apr 15, 2011 5:35 am
Re: Minimize workfile window
How can I include these new commands in an addin so that they do not cause an error if a user has not updated EViews yet? I tried setmaxerrs, but that did not help (see picture below)
Thomas
Thomas
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13308
- Joined: Tue Sep 16, 2008 5:38 pm
-
- Posts: 540
- Joined: Fri Apr 15, 2011 5:35 am
Re: Minimize workfile window
great, thanks!
T
T
Who is online
Users browsing this forum: Majestic-12 [Bot] and 22 guests