User Guide
maximize() 393
-- Lingo syntax
on findWinner Bids
Winner = Bids.max()
member("Congratulations").text = \
"You have won, with a bid of $" & Winner &"!"
end
// JavaScript syntax
function findWinner(Bids) {
Winner = Bids.max();
member("Congratulations").text = "You have won, with a bid of $" + \
Winner + "!");
}
maximize()
Usage
-- Lingo syntax
windowObjRef.maximize()
// JavaScript syntax
windowObjRef.maximize();
Description
Window method; maximizes a window.
Use this method when making custom titlebars.
Parameters
None.
Example
These statements maximize the window named Artists if it is not already maximized.
-- Lingo syntax
if (window("Artists").sizeState <> #maximized) then
window("Artists").maximize()
end if
// JavaScript syntax
if (window("Artists").sizeState != symbol("maximized")) {
window("Artists").maximize();
}
See also
minimize(), Window