I want to add the OnCloseUp, but get an error.
- Code: Select all
TYPE TMyDateTimePicker = CLASS( TDateTimePicker )
private
{ Private declarations }
protected
{ Protected declarations }
PROCEDURE Change; OVERRIDE;
PROCEDURE CloseUp; OVERRIDE;
public
{ Public declarations }
Mode,
ChangeActiontext,
VariableName,
CreateFlag,
RectangleName : STRING;
published
{ Published declarations }
END;
[Error] MyProject.dpr(126): Method 'CloseUp' not found in baseclass.
When I try it with a simple sample on a form, I have no problem with CloseUp.