Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
eiconsulting
Partner - Creator II
Partner - Creator II

Screen dimensions

I have seen several topics on "zooming" the document but cannot find any information on how to SET the screen resolution.

I mean a code to execute exactly the same you do with the menu Window Resize.

The API provide a rich "ActiveDocument.GetApplication.ScreenWidth" to read the width. How can I write it?

Flavio

P.S. The reason for this is that I want to keep the full screen ratio and "theoretical" dimension... the zoom simply adapts to what the user has set on one hand and what the sheet contains on the other. Inserting a small text object in the lower end corner I can "fix" the problem of keeping the zoom unrelated to the objects but cannot solve the ratio problem (i.e. 4:3 16:9)

Federico Sason | Emanuele Briscolini
7 Replies
Not applicable

Hi Flavio,

see the attached application. It´s from a colleague.

Good luck!

Rainer

eiconsulting
Partner - Creator II
Partner - Creator II
Author

Thanks anyway.... but this is another interesting variation of the "zoom" command, I think I even saw one with a slider. Doesn't solve the setting of the right proportion for the screen. If your user manually sets it to 1280x768, your 1024x768 screen (imagine to have a picture behind it) won't fit exactly, it will lose the bottom part of the photo or have an extra blank on the right side.

Flavio

Federico Sason | Emanuele Briscolini
Not applicable

While this is an interesting technological question, I wonder if you are trying to be too restrictive to your users.

A lot of websites make a similar assumption ( yes you, BBC ) and want to make things display at a certain size. The point about zoom / resizing in general is that it is the user that chooses the way they use their screen area. They may have an older monitor that cannot cope with the need for a large window size without showing scroll bars; you should therefore be careful to limit your application size to reduce their problems. Equally, they may have a large monitor at a large resolution, and can cope with large window sizes, or even several different monitors. In general, these people will use their screen space to have several windows open and visible at once, i.e. none of them maximised. Forcing them to use their applications maximised will also cause problems with user acceptance.

I think it would be better to adopt the policy of designing a QlikView application to use a screen size that suits most monitor resolutions in the user audience and to add a note "Designed for 1024x768" (or whatever). As you have found, users have a range of hardware, and would want to make their own decisions on how to use it.

eiconsulting
Partner - Creator II
Partner - Creator II
Author

Yeah! I am a very wicked programmer 😉

I have to agree that we have a very restrictive attitude, because this particular app is targeted for everyday users and not "analysts". We are probably going to even exclude the menus and take control of even the most simple functions like Save&Close.

I worked in the line of thinking "Designed for 1024x768" which makes me sure that anybody will have the opportunity to see everything together and not have to scroll around (not many 800x600 CDUs around that can stand the QV stand-alone app). The zoom feature comes nicely to "adapt" to whatever monitor ... upward. On the other hand the clean and neat app would be greatly unbalanced (look&feel) when most of the screen is empty. This is why I would like to have the user make a choice of size (whatever in the same 4:3 ratio) and then zoom in proportion automatically. Hope I clarified my technological point while looking less wicked 😉

Thanks for suggesting the "Designed for.." concept I will probably make it clear in the documentation.

Flavio

Federico Sason | Emanuele Briscolini
Not applicable

Is there a mean to force the window size when you share a document on the server and user access it with Ajax ? The document created shows 100% when opened from Access Point and there seems to be no mean to force a a fixed size like x by y pixels or zoom factor 85% (I'm not asking for dynamic fit zoom to window which is another story I understand)



Not applicable

Hi Jeff,

Did you finally find how Ajax could show a resized window or an applied zoom (diferent than 100% obviously)?

Thank you in advance!



Not applicable

NO, we just redisgned the app at 100%.... Good luck !