Namespace: Consultingwerk
Class 
DatasetCallbackEnum Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:DatasetCallback
Purpose:Enum for ProDataset Callback Names
Description:Reduce risk of typos in ProDataset SET-CALLBACK method
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Mon May 09 08:31:24 CEST 2011
Notes:Enum names are without - for consistency with coding stlye
However the values will return the proper form ABL constant
including the dash ("-")
This Enum type is purposely implemented using CHARACTER
static properties and not our Enum base class / EnumMember.i
include file - because the SET-CALLBACK method does implicitely
use the ToString() method and thus would cause compilation
issues.



Top Method Summary
Options Name Purpose
+ LOGICAL IsValid (character) Verifies if the specified callback name is valid

Top Constructor Summary
Options Name Purpose
- DatasetCallbackEnum () Disallow instance creation

Top Property Summary
Options Name Purpose
+ CHARACTER AfterFill This event occurs at the very end of a FILL, and can be used to adjust the contents of the ProDataSet object or Buffer object, reject the FILL operation, or disconnect from a server or database. For a child table, the event occurs once for each parent record that is created.
+ CHARACTER BeforeFill This event occurs at the very beginning of a FILL, before anything is read or created.


Method Detail
Top

PUBLIC LOGICAL IsValid (character)

Purpose: Verifies if the specified callback name is valid
Notes:

Parameters:
pcValue CHARACTER
The value to verify
Returns LOGICAL
Logical value indicating if the value is valid


Constructor Detail
Top

PRIVATE DatasetCallbackEnum ()

Purpose: Disallow instance creation
Notes:



Property Detail
Top

PUBLIC CHARACTER AfterFill

Purpose: This event occurs at the very end of a FILL, and can be used to
adjust the contents of the ProDataSet object or Buffer object, reject
the FILL operation, or disconnect from a server or database. For a
child table, the event occurs once for each parent record that is
created.
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER BeforeFill

Purpose: This event occurs at the very beginning of a FILL, before anything
is read or created.
Notes: For a ProDataSet object, this event allows the developer to make a
server or database connection, or do other preparatory work.
Alternatively, it allows the developer to intercept and fully
replace the default behavior.

Returns CHARACTER


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:28:06