Alan Abreu Absent Member.
Absent Member.
76 views

Resizable?

Jump to solution
I want to verify that an SwfWindow is NOT minimizable, maximizable, or resizable. I was able to use the following for the first two (lucky since this wasn't a listed property):

SwfWindow("GUID Generator").CheckProperty "Minimizable","False"
SwfWindow("GUID Generator").CheckProperty "Maximizable","False"

The following did not work though:

SwfWindow("GUID Generator").CheckProperty "is_resizable","False"

Is there another way?

- Thanks
0 Likes
1 Solution

Accepted Solutions
Krishna Kolacha Absent Member.
Absent Member.

Re: Resizable?

Jump to solution
Try this:
.CheckProperty "HasSizebox", False

View solution in original post

4 Replies
Krishna Kolacha Absent Member.
Absent Member.

Re: Resizable?

Jump to solution
Try this:
.CheckProperty "HasSizebox", False

View solution in original post

Alan Abreu Absent Member.
Absent Member.

Re: Resizable?

Jump to solution
It works! Thanks Krishna.

Seems yet another undocumented property. Where can I find these undocumented properties? Website?
0 Likes
Krishna Kolacha Absent Member.
Absent Member.

Re: Resizable?

Jump to solution
It is not really undocumented. You can find it under Object Identification Properties for the standard Window object in QTP help. Since SwfWindow is basically a window too, it works.
0 Likes
Highlighted
Alan Abreu Absent Member.
Absent Member.

Re: Resizable?

Jump to solution
OK.

I don't see it in the Properties list when I Spy on the actual SwfWindow. Now I know to check Window proeprties as well.

- Thanks again
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.