Can controls be added to the controls tab

Started by BOBM, October 10, 2008, 06:21:20 PM

Previous topic - Next topic

BOBM

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

TechSupport

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.

:)


BOBM

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


TechSupport

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.