Component Creation
From: Vertuas (vertuas_at_nospamcallistocs.freeserve.co.uk)
Date: 06/26/04
- Next message: VBDis: "Re: Exception Handling..."
- Previous message: J French: "Re: Mainmenu font size"
- Next in thread: Bob Richardson: "Re: Component Creation"
- Reply: Bob Richardson: "Re: Component Creation"
- Reply: Rob Kennedy: "Re: Component Creation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 26 Jun 2004 11:12:07 +0100
Hi all
Does anyone know of a way to create a component of a given class, by class
name, ie
function CreateComponent(ClassName : String): TComponent;
If sor example I wanted to create an image, i could pass Tmage as a string
and get a TImage back
I have looked In the help files at RegisterClass, GetComponentClass, an
TComponentClass but have not yet managed to get any results other that an
Access Violation or no component created.
If anyone has anythoughts, please fee free th post then.
Kind Regards
Vertuas
- Next message: VBDis: "Re: Exception Handling..."
- Previous message: J French: "Re: Mainmenu font size"
- Next in thread: Bob Richardson: "Re: Component Creation"
- Reply: Bob Richardson: "Re: Component Creation"
- Reply: Rob Kennedy: "Re: Component Creation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|