background image
C H A P T E R 2
Getting Started
2-12
Summary
Summary
2
View Classes and Protos
2
clView
2
aView := {
viewClass: clView, // base view class
viewBounds:
boundsFrame
, // location and size
viewJustify:
integer
, // viewJustify flags
viewFlags:
integer
, // viewFlags flags
viewFormat:
integer
, // viewFormat flags
...
}
protoApp
2
anApp := {
_proto: protoApp, // proto application
title:
string
, // application name
viewBounds:
boundsFrame
, // location and size
viewJustify:
integer
, // viewJustify flags
viewFlags:
integer
, // viewFlags flags
viewFormat:
integer
, // viewFormat flags
declareSelf: 'base, // do not change
...
}
Functions
2
Application-Defined Functions
2
InstallScript(
partFrame
) // for application parts
InstallScript(
partFrame
,
removeFrame
) // for auto parts
DeletionScript()
DoNotInstallScript()
RemoveScript(
frame
)
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна