PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: BOBM on October 10, 2008, 06:21:20 PM

Title: Can controls be added to the controls tab
Post by: BOBM on October 10, 2008, 06:21:20 PM
I have some superclassed controls I'd like to add to the controls tab. I see that some other controls like sigrid and egrid are there.

Bob Mechler
Title: Re: Can controls be added to the controls tab
Post by: TechSupport on October 10, 2008, 07:16:52 PM
Hi Bob,

You would need to create a *.ctl file and add the files to a directory under the "CustomControls" subdirectory. The generation of the ctl file can be a little complicated because there really isn't any documentation to show you how to do it. I can certainly help you with it.

:)

Title: Re: Can controls be added to the controls tab
Post by: BOBM on October 10, 2008, 08:39:19 PM
Took a look at the ctl files and see that I'll probably need to convert my *.inc files into standalone to dll's and get them working that way in my own programs before tackling adding them to the tools tab. It's great to know it can be done!!

Bob Mechler

Title: Re: Can controls be added to the controls tab
Post by: TechSupport on October 10, 2008, 08:53:28 PM
Bob, you only need to convert them to DLL's in order for the control to display in the visual designer. If you only want the source code to copy to your application then set "dll_required = 0" and set your file name in "source_filename = firegrid.inc" in your ctl file. Check out the RRButton ctl file. When you use RRButton in a project, the source inc file is output with the project rather than the DLL.