home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 October
/
Chip_2001-10_cd1.bin
/
zkuste
/
delphi
/
kompon
/
d123456
/
ALIGRID.ZIP
/
ALIGRIDR.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
2001-07-06
|
2KB
|
65 lines
unit aligridr;
(*$i ah_def.inc *)
(*@/// interface *)
interface
uses
classes,
(*$ifdef delphi_ge_6 *)
designintf,
(*$else *)
dsgnintf,
(*$endif *)
aligrid,
aligredi;
procedure Register;
(*@\\\0000000914*)
(*@/// implementation *)
implementation
{$ifdef delphi_1}
{$R aligrid.d16}
{$else}
{$R aligrid.d32}
{$endif}
(*@/// procedure Register; // To display the grid in the IDE *)
procedure Register;
(*$ifdef delphi_ge_6 *)
const
TInputCategory = 'Input';
TVisualCategory = 'Visual';
TLocalizableCategory = 'Localizable';
THelpCategory = 'Help and Hints';
TActionCategory = 'Action';
TMiscellaneousCategory = 'Miscellaneous';
(*$endif *)
begin
RegisterComponents('Custom', [TStringAlignGrid]);
RegisterComponentEditor(TStringAlignGrid,TGridComponentEditor);
(*$ifdef delphi_ge_5 *)
RegisterPropertiesInCategory(TInputCategory, TStringAlignGrid,
['OnAfterEdit','OnCancelEdit','OnBeforeEdit','OnValidateEdit',
'SelectEditText','EditMultiline','Editable','PasteEditableOnly',
'AllowCutnPaste','AutoEditNextCell','NextCellEdit','AfterLastCellEdit']);
RegisterPropertiesInCategory(TVisualCategory, TStringAlignGrid,
['Alignment','Wordwrap','FixedColor','RedrawWhileScroll',
'DrawSelection','AutoAdjustLastCol','SelectedCellColor',
'SelectedFontColor']);
RegisterPropertiesInCategory(TLocalizableCategory, TStringAlignGrid,
['HTMLCaption']);
RegisterPropertiesInCategory(THelpCategory, TStringAlignGrid,
['ShowCellHints','OnShowHintCell']);
RegisterPropertiesInCategory(TActionCategory, TStringAlignGrid,
['OnFixedColClick','OnFixedRowClick']);
RegisterPropertiesInCategory(TMiscellaneousCategory, TStringAlignGrid,
['HTMLBorder','OnCompareRow','OnCompareCol',
'NextCellTab','AfterLastCellTab']);
(*$endif *)
end;
(*@\\\003E000C01000C01000D07000D18000701000701*)
(*@\\\0000000901*)
end.
(*@\\\0001000011000401*)