WoW:API Frame SetMaxResize: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 30: Line 30:
----
----
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|Frame SetMaxResize]]
[[Category:API Frame Functions|Frame SetMaxResize]]

Revision as of 12:39, 27 August 2005

SetMaxResize -Documentation by AeroBrain-

Specifies the maximum width and height that the object can be resized to.

obj:SetMaxResize(maxWidth,maxHeight);

Arguments
maxWidth
The maximum width the object can be resized to.
maxHeight
The maximum height the object can be resized to.

Returns
nil

Example
myAddonFrame:SetMaxResize(320,240);
Result
The frame named 'myAddonFrame' could only be resized by the user to a maximum width of 320 and a maximum height of 240.

Description
Specifies the maximum width and height that the object can be resized to.

Template:WoW API