FutureBasic Logo

<<    Index    >> FutureBasic

panel   statement



Syntax
panel tag, title, rect, style

Description
This statement does any of the following:
Parameters
Parameter
Description
tag A positive or negative integer whose absolute value is in the range 1 through 1000000.
title A CFString expression.
rect A rectangle in global screen coordinates. You can express it in either of two forms:
(i) (x,y,w,h) where x,y are the origin and w,h the size of the panel.
(ii) A CGRect value
style Panel style options can be combined using '+':
NSBorderlessWindowMask
NSTitledWindowMask
NSClosableWindowMask
NSMiniaturizableWindowMask
NSResizableWindowMask
NSTexturedBackgroundWindowMask
NSUnifiedTitleAndToolbarWindowMask
NSFullScreenWindowMask
NSFullSizeContentViewWindowMask
NSUtilityWindowMask
NSDocModalWindowMask
NSNonactivatingPanelMask
NSHUDWindowMask

Default: NSTitledWindowMask + NSClosableWindowMask + NSResizableWindowMask
 
Dialog events
See window statement

Apple documentation
NSPanel

See also
window close, window output,