Mega Code Archive

 
Categories / Delphi / Ide Indy
 

How can i retrieve a list of assigned properties

Question: How can I easily retrieve a list of assigned properties and events for a given component in text form? Answer: Select a component on the form and select copy from the Edit menu. The text representation of the component and its non-default properties can now be pasted into the code window in Delphi, or any text editor. Example: object MediaPlayer1: TMediaPlayer Left = 48 Top = 32 Width = 253 Height = 30 Cursor = crHelp ColoredButtons = [btPlay, btStop, btNext, btPrev, btStep, btBack, btRecord, btEject] ParentShowHint = False ShowHint = True TabOrder = 2 OnClick = MediaPlayer1Click end