Interface for Using Custom Objects?

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by BeoLinker, Sep 27, 2005.

  1. BeoLinker

    BeoLinker

    Joined:
    Aug 3, 2004
    Messages:
    58
    Likes Received:
    0
    Location:
    Wigan, UK
    Hi,

    After binding the HomeGate Project ctd I notice the <ObjectType> value specifies the type of TComponent that is created.

    Is there any way of specifying a custom type then writing a custom handler for it that is called when your code does not recognise it?

    If not, then could it be a possibility in the future? i.e.

    XML = <ObjectType=MyControl>

    HomeGate = if ObjectType in [HandledControls] then LoadLibrary(ObjectType+'.dll')

    MyObject.DLL = type TMyControl = class(TYourSuperClass)

    This will then allow 3rd party developers to write HomeGate plugins?

    Cheers
    Greg...
     
    BeoLinker, Sep 27, 2005
    #1
    1. Advertisements

  2. BeoLinker

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    No.

    It is on the "to do" list for the far future. Don't hold your breath ;)
     
    Darren, Sep 28, 2005
    #2
    1. Advertisements

  3. BeoLinker

    BeoLinker

    Joined:
    Aug 3, 2004
    Messages:
    58
    Likes Received:
    0
    Location:
    Wigan, UK
    Thanks Darren,

    At least it is a possibility...

    Maybe you guys need another developer? ;)

    Cheers
    Greg...
     
    Last edited by a moderator: Sep 28, 2005
    BeoLinker, Sep 28, 2005
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.