C H A P T E R 3
Views
3-52
Summary of Views
view
:RevealEffect(
distance
,
bounds
,
sound
,
methodName
,
methodParameters
)
view
:Delete(
methodName
,
methodParameters
)
Dragging a View
view
:Drag(
unit
,
dragBounds
)
Dragging and Dropping an Item
view
:DragAndDrop(
unit
,
bounds
,
limitBounds, copy
,
dragInfo
)
Scrolling View Contents
view
:SetOrigin(
originX
,
originY
)
view
:SyncScroll(
What
,
index
,
upDown
)
Working With View Highlighting
view
:Hilite(
on
)
view
:HiliteUnique(
on
)
view
:TrackHilite(
unit
)
view
:TrackButton(
unit
)
HiliteOwner()
GetHiliteOffsets()
view
:
SetHilite
(start, end, unique)
Creating View Dependencies
TieViews(
mainView
,
dependentView
,
methodName
)
Synchronizing Views
view
:RedoChildren()
view
:SyncChildren()
Laying Out Multiple Child Views
view
:LayoutTable(
tableDefinition
,
columnStart
,
rowStart
)
view
:LayoutColumn(
childViews
,
index
)
Miscellaneous View Operations
view
:SetPopup()
GetViewFlags(
template
)
Visible(
view
)
ViewIsOpen(
view
) //platform file function
Application-Defined Methods
ViewSetupFormScript()
ViewSetupChildrenScript()
ViewSetupDoneScript()
ViewQuitScript()
ViewPostQuitScript()
ViewShowScript()
ViewHideScript()
ViewDrawScript()
ViewHiliteScript(
on
)
ViewScrollDownScript()