Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join this live chat April 6, 10AM EST - QlikView to Qlik Sense REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to 'allow minimize' using macro

Hi All,

I have a question:

The 'allow minimize' is unticked in chart properties, how to use macro to reset it for temporary.

Which means how to use macro to tick the 'allow minimize'?

It's urgent.

Thanks a lot 🙂

1 Solution

Accepted Solutions
maneshkhottcpl
Partner
Partner

Hi,

U can use the below macro to check or unchecked mininize buttot. I m sending u a code for the pur[pose.

and also file is attached. Please refer it and write for any issue.

sub mze
set g = ActiveDocument.GetSheetObject("CH01")
set gp = g.GetProperties
'gp.GraphLayout.Frame.AllowMinimize = false '' use this to minimize once
gp.GraphLayout.Frame.AllowMinimize = not(gp.GraphLayout.Frame.AllowMinimize)''use this to toggle minimize
g.SetProperties gp

end sub

Thanks

Manesh Khot

View solution in original post

4 Replies
maneshkhottcpl
Partner
Partner

Hi,

U can use the below macro to check or unchecked mininize buttot. I m sending u a code for the pur[pose.

and also file is attached. Please refer it and write for any issue.

sub mze
set g = ActiveDocument.GetSheetObject("CH01")
set gp = g.GetProperties
'gp.GraphLayout.Frame.AllowMinimize = false '' use this to minimize once
gp.GraphLayout.Frame.AllowMinimize = not(gp.GraphLayout.Frame.AllowMinimize)''use this to toggle minimize
g.SetProperties gp

end sub

Thanks

Manesh Khot

View solution in original post

deepakk
Partner
Partner

ops.. I was little late anyways i had made sample application u can view the same.

Not applicable
Author

It works.... Yes

Thanks you guys.....

maneshkhottcpl
Partner
Partner

Hi,

If its working then please checked as verify.