Namespace: Consultingwerk.SmartFramework.Menu
Class 
SmartFunction Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartFramework.Menu.SmartFunction_Generated

File:SmartFunction
Author(s):Marko Rüterbories
Created:11.10.2012 00:34:53
Purpose: Constructor of the SmartFunction class
Notes:



Top Method Summary
Options Name Purpose
# A AssignFromBuffer (handle) Copies the buffer values to the entity table's properties
Overrides Consultingwerk.SmartFramework.Menu.SmartFunction_Generated:AssignFromBuffer (handle)
# A AssignToBuffer (handle) Copies the entity table's properties to the buffer values
Overrides Consultingwerk.SmartFramework.Menu.SmartFunction_Generated:AssignToBuffer (handle)
# HANDLE GetChildRecord (handle, character) Returns the first (and typically only) child record of a to-one relation
Inherited from Consultingwerk.OERA.EntityTable
# GetChildRecords (handle, character, Object, character) Populates a List of child records
Inherited from Consultingwerk.OERA.EntityTable
+ InitializeNewRow () Initializes a New row
Inherited from Consultingwerk.OERA.EntityTable
# OnFunctionCallParameterChanged (EventArgs) Raises the FunctionCallParameterChanged event
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
# OnFunctionDescriptionChanged (EventArgs) Raises the FunctionDescriptionChanged event
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
# OnFunctionGuidChanged (EventArgs) Raises the FunctionGuidChanged event
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
# OnFunctionLargeImageChanged (EventArgs) Raises the FunctionLargeImageChanged event
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
# OnFunctionModuleGuidChanged (EventArgs) Raises the FunctionModuleGuidChanged event
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
# OnFunctionNameChanged (EventArgs) Raises the FunctionNameChanged event
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
# OnFunctionSmallImageChanged (EventArgs) Raises the FunctionSmallImageChanged event
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
# OnModuleNameChanged (EventArgs) Raises the ModuleNameChanged event
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
+ PopulateList (handle, character, Object, character) Populates a List object with EntityTable objects for buffers
Inherited from Consultingwerk.OERA.EntityTable
+ PopulateList (handle, Object, character) Populates a List object with EntityTable objects for buffers
Inherited from Consultingwerk.OERA.EntityTable
# SetModified () Set's the current row to modified
Inherited from Consultingwerk.OERA.EntityTable

Top Constructor Summary
Options Name Purpose
+ SmartFunction () Constructor of the SmartFunction class
+ SmartFunction (handle) Constructor of the SmartFunction class

Top Event Summary
Options Name Purpose
+ FunctionCallParameterChanged (Object, EventArgs) Raised when the FunctionCallParameter property value changes
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
+ FunctionDescriptionChanged (Object, EventArgs) Raised when the FunctionDescription property value changes
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
+ FunctionGuidChanged (Object, EventArgs) Raised when the FunctionGuid property value changes
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
+ FunctionLargeImageChanged (Object, EventArgs) Raised when the FunctionLargeImage property value changes
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
+ FunctionModuleGuidChanged (Object, EventArgs) Raised when the FunctionModuleGuid property value changes
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
+ FunctionNameChanged (Object, EventArgs) Raised when the FunctionName property value changes
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
+ FunctionSmallImageChanged (Object, EventArgs) Raised when the FunctionSmallImage property value changes
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
+ ModuleNameChanged (Object, EventArgs) Raised when the ModuleName property value changes
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated

Top Property Summary
Options Name Purpose
+ LONGCHAR FunctionCallParameter
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
+ CHARACTER FunctionDescription
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
+ CHARACTER FunctionGuid
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
+ CHARACTER FunctionLargeImage
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
+ CHARACTER FunctionModuleGuid
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
+ CHARACTER FunctionName
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
+ CHARACTER FunctionSmallImage
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
+ CHARACTER ModuleName
Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
+ RowStateEnum RowState
Inherited from Consultingwerk.OERA.EntityTable


Method Detail
Top

PROTECTED AssignFromBuffer (handle)

Overrides Consultingwerk.SmartFramework.Menu.SmartFunction_Generated:AssignFromBuffer (handle)
Purpose: Copies the buffer values to the entity table's properties
Notes:

Parameters:
phBuffer HANDLE
The handle of the source buffer
Top

PROTECTED AssignToBuffer (handle)

Overrides Consultingwerk.SmartFramework.Menu.SmartFunction_Generated:AssignToBuffer (handle)
Purpose: Copies the entity table's properties to the buffer values
Notes:

Parameters:
phBuffer HANDLE
The handle of the target buffer
Top

PROTECTED HANDLE GetChildRecord (handle, character)

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Returns the first (and typically only) child record of a to-one
relation
Notes:

Parameters:
phParentBuffer HANDLE
The handle to the parent buffer
pcDataRelationName CHARACTER
The name of the data-relation to return the child buffer for
Returns HANDLE
The handle of the child record, already located to the first record (if any)
Top

PROTECTED GetChildRecords (handle, character, Object, character)

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Populates a List of child records
Notes: As we currently don't support "generic Interfaces", we can only access
the strong typed Add method of the Generic lists using the DYNAMIC-INVOKE
statement.

Parameters:
phParentBuffer HANDLE
The handle to the parent buffer
pcDataRelationName CHARACTER
The name of the data-relation to return the child buffer for
poList Progress.Lang.Object
The List to populate
pcClassName CHARACTER
The name of the ChildClass
Top

PUBLIC InitializeNewRow ()

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Initializes a New row
Notes: Provides a method to provide initial values when records are added to
differentiate from the Constructor usage when Rows are populate based
on existing DB records
Override this method to provide initial values

Top

PROTECTED OnFunctionCallParameterChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
Purpose: Raises the FunctionCallParameterChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnFunctionDescriptionChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
Purpose: Raises the FunctionDescriptionChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnFunctionGuidChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
Purpose: Raises the FunctionGuidChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnFunctionLargeImageChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
Purpose: Raises the FunctionLargeImageChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnFunctionModuleGuidChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
Purpose: Raises the FunctionModuleGuidChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnFunctionNameChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
Purpose: Raises the FunctionNameChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnFunctionSmallImageChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
Purpose: Raises the FunctionSmallImageChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnModuleNameChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
Purpose: Raises the ModuleNameChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC PopulateList (handle, character, Object, character)

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Populates a List object with EntityTable objects for buffers
Notes: Selects the buffer records using an optional Query string
As we currently don't support "generic Interfaces", we can only access
the strong typed Add method of the Generic lists using the DYNAMIC-INVOKE
statement.

Parameters:
phBuffer HANDLE
The Buffer to return add EntityTable instances to the list
pcQueryString CHARACTER
The QueryString to use while populating the list
poList Progress.Lang.Object
The list to add the EntityTable instances to
pcClassName CHARACTER
The name of the class to create EntityTable instances of (child class of the EntityTable)
Top

PUBLIC PopulateList (handle, Object, character)

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Populates a List object with EntityTable objects for buffers
Notes:

Parameters:
phBuffer HANDLE
The Buffer to return add EntityTable instances to the list
poList Progress.Lang.Object
The list to add the EntityTable instances to
pcClassName CHARACTER
The name of the class to create EntityTable instances of (child class of the EntityTable)
Top

PROTECTED SetModified ()

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Set's the current row to modified
Notes: When the RowState is Add or Deleted it will not be changed



Constructor Detail
Top

PUBLIC SmartFunction ()

Purpose: Constructor of the SmartFunction class
Notes:

Top

PUBLIC SmartFunction (handle)

Purpose: Constructor of the SmartFunction class
Notes:

Parameters:
phBuffer HANDLE
A source buffer to copy the values from


Event Detail
Top

PUBLIC FunctionCallParameterChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
Purpose: Raised when the FunctionCallParameter property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC FunctionDescriptionChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
Purpose: Raised when the FunctionDescription property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC FunctionGuidChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
Purpose: Raised when the FunctionGuid property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC FunctionLargeImageChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
Purpose: Raised when the FunctionLargeImage property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC FunctionModuleGuidChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
Purpose: Raised when the FunctionModuleGuid property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC FunctionNameChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
Purpose: Raised when the FunctionName property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC FunctionSmallImageChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
Purpose: Raised when the FunctionSmallImage property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC ModuleNameChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated
Purpose: Raised when the ModuleName property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event


Property Detail
Top

PUBLIC LONGCHAR FunctionCallParameter

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated

Returns LONGCHAR
Top

PUBLIC CHARACTER FunctionDescription

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER FunctionGuid

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER FunctionLargeImage

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER FunctionModuleGuid

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER FunctionName

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER FunctionSmallImage

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER ModuleName

Inherited from Consultingwerk.SmartFramework.Menu.SmartFunction_Generated

Returns CHARACTER
Top

PUBLIC RowStateEnum RowState

Inherited from Consultingwerk.OERA.EntityTable

Returns RowStateEnum


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:07:36