Run-time Designer

 

Yes I know, this is quite a boring page cause nothing happens, but that's because Run-time Designer is so well designed! There may be some small bugs found, but that's all! :)

 

The Run-time Designer is a non-visible component that adds the abillity to edit controls at run-time. You don't need to be a professional programmer to use this component, but it makes it easier if you have created controls in run-time before. There are some examples in the package to show how you can use the RTDesigner.

 

New features in 2.0.10

The news in 2.0.10 is the OnGetPopupMenu event. Use it to enable easier switching between multiple popup menus and easier translation. Some bugs were also fixed.

 

New features in 2.0.5

The news in version 2.0.5 is the new keyboard support that Marcondes R. Farias implemented for me. Now you can both resize and move controls with the Shift/Ctrl+arrow keys.

 

Run-time Designer 2!
After spending a lot of time with the fingers stuck on the keyboard Run-time Designer 2 was released in the fall 1998. There are lots of new features and lots of bugcorrections like:

 

Keyboard support
Now RTDesinger supports keyboard events. Cut, copy and paste with the usual Ctrl+X, Ctrl+C and Ctrl+V, delete the selected controls by clicking Ctrl+Del and display a message in the BeforeDelete event to give the user a chance to accept the deletion. If the user regrets that he or she moved that control, just press Ctrl+Z and... the undo is a fact! Select all controls with Ctrl+A or clear selection with Ctrl+N (select none).
Just as in the Delphi IDE you can press Esc to select the control's parent control.

 

Multiple RTDesigners
The unit RTDesign contains the class TDesignServer that a TRTDesigner registers to when created and therefore an application can contain several forms with RTDesigners on them. The DesignServer connects to Application.OnMessage so you can't assign a procedure to it because that will cause the RTDesigner to stop working.

 

Easy to use
The RTDesigner is very easy to use, just drop a TRTDesigner on a form and set the EditMode property to True and the controls on the form will be moveable and sizeable during run-time. If you want to restrict the editing to a certain TWinControl like a TPanel you just set the property BaseControl to Panel1. If you want to set BaseControl back to the form you just set the property to nothing and the RTDesigner automatically sets it to its parent form. To make only specific control or controls editable you can do as follows:

RTDesigner1.AcceptedControls.Add(Button1);

 

Source code
Click here for more information.

 

Download

Demo, Delphi 1, 2, 3, 4 & 5, C++ Builder 3 & 4.

The demo includes two demo applications, MDI Demo (form designing) and SDI Demo (flow-chart editing). The zip-file includes both source and EXE application..

 

 

If you have any problems just send an electric letter...
electric letter

This page was last updated 2000-08-24 Copyright© 1998-2000 Karl-Otto Rosenqvist