TEditBtnRefs -
TEditDataLink -
TEditManager -
TEditMenuRefs -
TEditRefs -
TEditRefsProperty -
Register -
TEditCtrls
erCancel
erDelete
erEdit
erInsert
erPost
procedure Register;
TEditCtrls = array[erInsert .. erCancel] of TComponent;
erCancel = 4
erDelete = 1
erEdit = 2
erInsert = 0
Copyright 1996 by Justin Turberville
Address: P.O.Box 122
Kenton-On-Sea
6191
South Africa
EMail: justint@cyberjoe.co.za
Links and manages the edit controls associated with a dataset.
Assign a handler to OnEditClick - TEditManager automatically assigns the
handler to all attached edit control OnClick properties. In this handler,
call the edit manager's HandleEdit method, passing the sender. Use the
OnUpdateControls event to do any housework.
TEditManager can generate an edit menu, popup menu edit items and edit
speedbuttons at design time - save you about 3 minutes!
Let me know if you find this useful/improve on it!
Sorry about leaving out AddCtrls.res last time!
And for the mess on the test form.
erPost = 3