There are two ways:
1) In the Layout Designer right click and select 'User Class'. You get an empty ctrl that you can layout and you can then set the class type using the panel on the bottom left (eg. to ColumnList).
2) To add a control to the Layout Designer menu and have a preview available while laying out you can create a .usc file in your package and add a script for it. See CtrlLib/CtrlLib.usc for examples.
James.
Add 1:
There are in fact two situations:
- the class of widgets is defined at time layout file is included. In that case you can simply write the name of class into the field; you will only see a an empty rectangle with class name on the screen, but for custom widgets that is enough.
- if the class is defined at the point of .lay inclusion, you can still place it to the layout - just leave the field empty. In this case, you hace to the *public* member variable with the same id as "variable" field to your dialog (or layout) class.