I thought that VFP had such tool already called Form Designer. :)
Seriously, take a look at ToolBox tool in VFP8beta. Maybe it will fit your requerements. Otherwise take a look at sorce code for Object Browser in Tools\xsource\xsource.zip file.
>>It wouldn't work because of the bug in VFP described in mskb #
Q192693 BUG: License Error with ActiveX Control Added at Run-Time>>
>Thank you Sergey for your quick response.
>
>I read the article and it doesn't apply in my case since all I'm building is a quick tool for programmers that will never be distributed (ran using the "DO" or "RUN" command inside the VFP IDE).
>
>So, how should I go about doing this?
>
>Stephane.
--sb--