Главная страница | назад





Article #15872: How can I retrieve a list of assigned properties

 Question and Answer Database
FAQ872D.txt How can I retrieve a list of assigned properties
Category :IDE
Platform :All
Product :All 32 bit
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
7/16/98 4:31:28 PM

Last Modified: 01-SEP-99