[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Event handler for when the TEnumTypeEdit list is initialized.
Source position: msedataedits.pas line 1094
published property tenumtypeedit.oninit : enumtypeediteventty |
Event handler for when the TEnumTypeEdit list is initialized..
Note: You must use the TypInfo unit.
uses main_mfm, typinfo; type TFruit = (Apple, Apricot, Cherry, Pear); procedure tmainfo.editinit(const sender: tenumtypeedit); begin sender.typeinfopo := PTypeInfo(TypeInfo(TFruit)); end;