Namespace: Consultingwerk.SmartComponents.Enum
Class 
ControlEnabledEnum Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:ControlEnabledEnum
Purpose:Defines states under which controls in a SmartViewerControl
are Enabled
Description:Used for SmartViewerControl:SetControlEnabled
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Mar 14 15:47:05 CET 2009
Notes:Possible values: Add, Always, Newver, Update
Purpose: The Control will be enabled during Add and Copy operations only
Notes:



Top Method Summary
Options Name Purpose
+ CHARACTER FromLogical (logical, logical) Returns the ControlEnabledEnum value matching the logical properties

Top Constructor Summary
Options Name Purpose
- ControlEnabledEnum () Constructor for the ControlEnabledEnum class

Top Property Summary
Options Name Purpose
+ CHARACTER Add
+ CHARACTER Always
+ CHARACTER Never
+ CHARACTER Update
+ CHARACTER UpdateOnly


Method Detail
Top

PUBLIC CHARACTER FromLogical (logical, logical)

Purpose: Returns the ControlEnabledEnum value matching the logical properties
Notes:

Parameters:
plEnabledForUpdate LOGICAL
Logical value indicating if the control should be enabeled during Update
plEnabledForAdd LOGICAL
Logical value indicating if the control should be enabeled during Add (including Copy)
Returns CHARACTER
The ControlEnabeldEnum value (CHARACTER)


Constructor Detail
Top

PRIVATE ControlEnabledEnum ()

Purpose: Constructor for the ControlEnabledEnum class
Notes: Disable instance creation



Property Detail
Top

PUBLIC CHARACTER Add


Returns CHARACTER
Top

PUBLIC CHARACTER Always


Returns CHARACTER
Top

PUBLIC CHARACTER Never


Returns CHARACTER
Top

PUBLIC CHARACTER Update


Returns CHARACTER
Top

PUBLIC CHARACTER UpdateOnly


Returns CHARACTER


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 05:53:58