Module cStatusPanel.pkg
cStausPanel.pkg
This is an abstract class that can be used to create status panels. The interface at this level
is very simple. You can start, stop, request a cancel and allow the object to paint.
Interface:
Get/Set pbCancel - set true if you want to request a cancel.
Send Activate - activate the panel
Send Deactivate - deactivate the panel
Send ProcessEvents - allows panel to paint in a tight loop
Send Close_panel - sets pbCancel, indicating that you'd like to cancel the panel.
Look at cProcessStatusPanel.pkg to see how this is used.
cStatusPanel.pkg (view source)- import declarations
- cStatusPanel : FloatingPanel
- Construct_Object()
- booleanpbCancel
- Deactivate_Group()
this is private and required. Never send this.
- Deactivate()
Send this message to stop the panel
- Activate()
Send this message to start the panel
- ProcessEvents()
This allows the panel to paint when used in a tight loop, which is what status panels are
used for. Any time you update the panel or wish to check for a cancel, you should call this.
- Close_Panel()
note close panel does not actually close the panel. It just sets pbCancel to True, informing the
process using this that it wants to close. It is then up the process close the panel.
References (1):
Field References (0):
Module | Containing Symbol | Line |
---|