I was doing some customization to my forms, since I want them with some published properties appear on Object Inspector. I've done the simple way: create the form, put it on object repository, created a package to register it with RegisterCustomModule.
I would like to know if anyone have a way to put it on Object Repository in a automat...
I have an Application layout that is based on a treeView at the left, and a panel on the right. The panel hosts a differnt TForm class depending on the tree node selected (a kind of 'form explorer'). There is only one form displayed at a time which exposes underlying data stored elsewhere and the form instance is created and destroyed on...
I would like to alter the Show default behaviour of a TForm's descendant (for eg. instead of showing itself on the screen, I would like to place it on a page control as a new tabsheet).
How to achive that ?
I'd like to show it using a standard method (call Show method or set Visible property) so I tried to override the SetVisible method....
Hi.
A single class derived from TForm appears to hold onto GDI handles until the application is closed.
class TTestForm : public TForm {
public:
TTestForm(TComponent*);
};
std::auto_ptr<TTestForm> test(new TTestForm(NULL));
test->ShowModal();
I'm quite new to VCL, so please bear with me. This test was done with a form that con...