Thread View: borland.public.delphi.nativeapi.win32
1 messages
1 total messages
Started by djBo
Fri, 22 May 2009 12:13
Retrieving property type information
Author: djBo
Date: Fri, 22 May 2009 12:13
Date: Fri, 22 May 2009 12:13
24 lines
2091 bytes
2091 bytes
Hi List, I am in the process of creating a small DFM parser, and I am getting stuck on something specific. When parsing the DFM file (top to bottom) I obviously run into many of the properties, events and assigned methods. I am trying to find a way that can tell me wether a given property is a notifying event (or procedure of object). What I have done so far, is use RTTI. But for this to work, I need to "register" all the classes that can possibly be inside the DFM. But registering every single control that exists is a little crazy... I "could" say that whenever a property starts of with "On" I define it as an event, but this is obviously very error prone... My question: Is there an easier way to do this? Btw, I am also looking on how to figure out the same thing for things like an "action". Thanks in advance, Bo
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads