Package: u_extDBDirectoryEdit Diagram Back to overview

TExtDBDirectoryEdit
class

Description
TExtDBDirectoryEdit

Inherits from: TDirectoryEdit
Implements: IFWComponent, IFWComponentEdit
Attributes
Name Type Visibility
FBeforeEnter
TNotifyEvent   private
FBeforeExit
TNotifyEvent   private
FLabel
TLabel   private
FOldColor
TColor   private
FColorFocus
TColor   private
FColorReadOnly
TColor   private
FColorEdit
TColor   private
FColorLabel
TColor   private
FAlwaysSame
Boolean   private
FNotifyOrder
TNotifyEvent   private
FReadOnly
Boolean   private
FDataLink
TFieldDataLink   private
FWBeforeEnter
  public
FWBeforeExit
  public
ColorLabel
  public
ColorFocus
  public
ColorEdit
  public
ColorReadOnly
  public
Color
  public
MyLabel
  public
AlwaysSame
  public
OnOrder
  public
DataField
  public
DataSource
  public
ReadOnly
  public
Operations
Name Parameters Returns Visibility
p_setLabel

Description
TExtDBDirectoryEdit

TLabel alab_Label
 
  private
WMPaint
TWMPaint Message
 
  private
GetDataField   String   private
GetDataSource   TDataSource   private
SetDataField
String Value
 
  private
SetDataSource
TDataSource Value
 
  private
DataChange

Description
case

TObject Sender
 
  private
UpdateData

Description
the field is being updated, probably for post so we are getting called to make sure its up-to-date and matches any modifications since its possible to have a mask for say date or currency we need to make sure the text is valid before we update this is in case for instance they call table.post via a keyboard shortcut while still focused, before the changes have been validated

TObject Sender
 
  private
SetReadOnly
Boolean value
 
  private
Notification
TComponent AComponent
TOperation Operation
 
  protected
UTF8KeyPress
TUTF8Char UTF8Key
 
  protected
Change     public
Create
TComponent AOwner
 
  public
Destroy     public
DoEnter     public
DoExit

Description
Si on arrive sur une zone de saisie, on met en valeur son tlabel par une couleur de fond bleu et son libellé en marron (sauf si le libellé est sélectionné avec la souris => cas de tri)

    public
Loaded     public
SetOrder     public