≡#Syntax10.Scn.Fnttt
Contents of Using Gadgets from within Oberon
Using Gadgets from within Oberon
[
Text
| Contents |
Index
|
Master index
]
Objective
How to control gadgets with commands
Where to obtain information on the environment
Gadgets.context
Gadgets.executorObj
Gadgets.senderObj
Gadgets.receiverObj
Alternative environment information sources
Oberon.Par.obj
Oberon.Par.frame
Objects.NewObj
How to control gadgets with messages
Accessing gadgets - Display.SelectMsg
Removing gadgets - Display.ControlMsg
Resizing / Moving a gadget - Display.ModifyMsg
Locating a frame - Display.LocateMsg
(Re)drawing a gadget - Display.DisplayMsg
Attribute management - Objects.AttrMsg
Retrieving an attribute
Setting an attribute
Enumerating the attributes
How to control gadgets with procedures
Creating an object - CreateObject
Inserting a gadget at the caret location - Integrate
Creating a view/model pair - CreateViewModel
Naming an object - NameObj
Retrieving an object's name - GetObjName
Retrieving a public object - FindPublicObj
Retrieving an object - FindObj
Updating a gadget - Update
Retrieving a frame - ThisFrame
Executing a command - Execute
Executing a command - ExecuteAttr
Changing a gadget value directly - SetValue
Comparison between commands and procedures
How to control documents
Loading an existing document - Documents.Open
Presenting a document - Desktops.ShowDoc
Creating a new document
Initializing a document - Documents.Init
Overview of commands and procedures
A final example
What's next?