|
Class: TextCollectorBox
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--View
|
+--TopView
|
+--StandardSystemView
|
+--ModalBox
|
+--DialogBox
|
+--EnterBox
|
+--TextBox
|
+--TextCollectorBox
- Package:
- stx:libwidg2
- Category:
- Views-DialogBoxes
- Version:
- rev:
1.3
date: 2023/11/06 15:17:31
- user: cg
- file: TextCollectorBox.st directory: libwidg2
- module: stx stc-classLibrary: libwidg2
has a textcollector as textview
copyrightCOPYRIGHT (c) 2018 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
initialization
-
initialize
-
(comment from inherited method)
TextBox new showAtPointer
(TextBox title:'hello') showAtPointer
Example (using ok-action callBack):
|textBox|
textBox := TextCollectorBox new.
textBox title:'text coming...'.
[
10 timesRepeat:[
textBox textView showCR:'hello'.
Delay waitForSeconds:1.
].
] fork.
textBox showAtPointer.
|
|textBox|
textBox := TextCollectorBox new.
textBox title:'text coming...'.
[
OperatingSystem
executeCommand:(OperatingSystem isMSWINDOWSlike ifTrue:['dir'] ifFalse:['ls -l'])
outputTo:textBox textView.
] fork.
textBox showAtPointer.
|
|