Ultra Light Client Guide and Reference


Alert

Category
[Ulc Models icon] Ulc Models

Palette icon
[Alert icon]Alert

Class name
UlcAlert

UlcAlert
A general-purpose message box. Although Alert is a shell and appears on the parts palette, its properties cannot be reset after the instance has been created, so this class is better used in code.

UlcAlert is typically opened as a child of UlcShell, as follows:

(UlcAlert confirm: 'Do you really want to quit?'
          title: 'Please Confirm'
          parent: aShell)
 ifTrue: [aShell parent terminate]

UlcAlert handles itself with respect to its parent, so there is no need to add alerts to UlcApplication.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]