Package: U_ExtNumEdits Diagram Back to overview

TExtDBNumEdit
class

Description
TExtDBNumEdit

Inherits from: TExtNumEdit
Attributes
Name Type Visibility
FDataLink
TFieldDataLink   private
FSetText
Boolean   private
FFormat
String   private
Field
  public
EditMask
  public
DataField
  public
DataSource
  public
Operations
Name Parameters Returns Visibility
ActiveChange
TObject Sender
 
  private
DataChange
TObject Sender
 
  private
EditingChange

Description
forces update

TObject Sender
 
  private
GetDataField   String   private
GetDataSource

Description
showmessage ( FDataLink.Field.AsString );

  TDataSource   private
GetField   TField   private
ResetMaxLength

Description
TExtDBNumEdit

    private
SetDataField
String AValue
 
  private
SetDataSource
TDataSource AValue
 
  private
WMCut
TMessage Message
 
  private
WMPaste
TMessage Message
 
  private
WMUndo
TMessage Message
 
  private
CMEnter
TCMEnter Message
 
  private
CMExit
TCMExit Message
 
  private
CMGetDataLink
TMessage Message
 
  private
GetEditString   String   protected
SetFocused
Boolean AValue
 
  protected
p_SetValue
TAFloat AValue
 
  protected
KeyDown
Word Key
TShiftState Shift
 
  protected
KeyUp
Word Key
TShiftState Shift
 
  protected
Notification
TComponent AComponent
TOperation Operation
 
  protected
SetToText
String as_text
 
  protected
SetTextToValue

Description
showmessage ( FDataLink.Field.AsString );

    protected
Loaded     public
Create
TComponent AOwner
 
  public
Destroy     public
ExecuteAction
TBasicAction AAction
 
Boolean   public
UpdateAction
TBasicAction AAction
 
Boolean   public
UseRightToLeftAlignment   Boolean   public


TExtNumEdit
class

Description
TExtNumEdit

Inherits from: TCustomEdit
Implements: IFWComponent, IFWComponentEdit
Subclasses: TExtDBNumEdit, TExtNumOperate
Attributes
Name Type Visibility
FValue
TAFloat   private
FCanvas
TControlCanvas   private
FFocused
Boolean   private
FAlwaysSame
Boolean   private
FBeforeEnter
TNotifyEvent   private
FBeforeExit
TNotifyEvent   private
FLabel
TLabel   private
FColorReadOnly
TColor   private
FColorFocus
TColor   private
FColorEdit
TColor   private
FOldColor
TColor   private
FColorLabel
TColor   private
FOnSetValue
TNotifyEvent   private
FOnValueSet
TNotifyEvent   private
FNotifyOrder
TNotifyEvent   private
FOnPopup
TNotifyEvent   private
gby_NbApVirgule
Byte   private
FMax
Double   private
FHasMin
Boolean   private
FHasMax
Boolean   private
FNumRounded
TNumRounded   protected
FAlignment
TAlignment   protected
gby_NbAvVirgule
Byte   protected
gby_MinLevel
Byte   protected
gb_Negatif
Boolean   protected
gb_Calculate
Boolean   protected
FMin
Double   protected
FChangingValue
Boolean   protected
FWBeforeEnter
  public
FWBeforeExit
  public
OnSetValue
  public
OnValueSet
  public
AlwaysSame
  public
Value
  public
NbNegative
  public
NbBeforeComma
  public
NbAfterComma
  public
ColorLabel
  public
ColorEdit
  public
ColorReadOnly
  public
ColorFocus
  public
OnOrder
  public
MyLabel
  public
Max
  public
Min
  public
HasMin
  public
HasMax
  public
NumRounded
  public
OnPopup
  public
Alignment
  public
Anchors
  public
AutoSelect
  public
AutoSize
  public
BiDiMode
  public
BorderStyle
  public
CharCase
  public
Color
  public
Constraints
  public
Ctl3D
  public
ParentCtl3D
  public
DragCursor
  public
DragKind
  public
DragMode
  public
Enabled
  public
Font
  public
MaxLength
  public
ParentBiDiMode
  public
ParentColor
  public
ParentFont
  public
ParentShowHint
  public
PasswordChar
  public
PopupMenu
  public
ReadOnly
  public
ShowHint
  public
TabOrder
  public
TabStop
  public
Text
  public
Visible
  public
OnChange
  public
OnClick
  public
OnContextPopup
  public
OnDblClick
  public
OnDragDrop
  public
OnDragOver
  public
OnEndDock
  public
OnEndDrag
  public
OnEnter
  public
OnExit
  public
OnKeyDown
  public
OnKeyPress
  public
OnKeyUp
  public
OnMouseDown
  public
OnMouseMove
  public
OnMouseUp
  public
OnStartDock
  public
OnStartDrag
  public
OnMouseEnter
  public
OnMouseLeave
  public
Align
  public
Operations
Name Parameters Returns Visibility
WMPaint
TWMPaint Message
 
  private
DoExitText     protected
MouseDown

Description
Since edit controls do not handle justification unless multi-line (and then only poorly) we will draw right and center justify manually unless the edit has the focus.

TMouseButton Button
TShiftState Shift
Integer X
Integer Y
 
  protected
SetName
TComponentName NewName
 
  protected
Change     protected
InitComma
String as_text
 
String   protected
SetTextToValue     protected
SetToText
String as_text
 
  protected
KeyPress

Description
or every numerics

Char Key
 
  protected
KeyUp
Word Key
TShiftState Shift
 
  protected
p_SetValue
TAFloat AValue
 
  protected
SetFocused

Description
Si on arrive sur une zone de saisie, on met en valeur son {$IFDEF TNT}TTntLabel{$ELSE}TLabel{$ENDIF} par une couleur de fond bleu et son libellé en marron (sauf si le libellé est sélectionné avec la souris => cas de tri)

Boolean AValue
 
  protected
GetTextMargins   TPoint   protected
p_SetNbAvVirgule
Byte Avalue
 
  protected
p_SetNbApVirgule
Byte Avalue
 
  protected
Create

Description
TExtNumEdit

TComponent AOwner
 
  public
Destroy     public
GetTextFloat   String   public
Loaded     public
DoEnter     public
DoExit     public
SetOrder     public