Package RASCAL.ToolboxDisplayField

DescriptionToolbox DisplayField related types and methods.
Authorbbracke
Date2005/11/21 20:14:33
Revision1.1
 

Clauses

Quick access : ClausesGenericsDefinitionsSubprograms


 
Context clauses
RASCAL.Toolbox
RASCAL.OS
RASCAL.WimpIcon
System.Unsigned_Types
 
Use clauses
RASCAL.Toolbox
RASCAL.OS
RASCAL.WimpIcon
System.Unsigned_Types
 

Basic Objects

Quick access : ClausesGenericsDefinitionsSubprograms


Basic Objects
Name Type Default
DisplayField_RJustified16#2#constant
Flags
DisplayField_HCentred16#4#constant
 

Definitions

Quick access : ClausesGenericsDefinitionsSubprograms


 

Subprograms

Quick access : ClausesGenericsDefinitionsSubprograms


  
Get_Alignment function
ReturnAlignment_Type
How is the text in the displayfield aligned ?
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
  
Get_Value function
ReturnString
Returns the text string shown in the display field.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Font procedure
Sets the font used in the display field. Default is the system font.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
Fontstringin
Font_Widthintegerin
Font_Heightintegerin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Value procedure
Sets the text string shown in the display field. The screen display is immediately updated if the window is on screen.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
New_ValueStringin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_TruncatedValue procedure
Sets the text string shown in the display field. The screen display is immediately updated if the window is on screen.
The text is truncated to the size of the displayfield and an ellipsis is added.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
New_ValueStringin
FlagsSystem.Unsigned_Types.Unsignedin0