The DataCAD Developer Network (DDN) is an online resource for information and support for DCAL® (DataCAD Applications Language) developers as well as anyone interested in creating fonts, toolbars, hatch patterns, or linetypes for use in DataCAD.
#72327 by Jsosnowski
Sun Sep 17, 2017 7:26 pm
PART FIVE - A DCAL FOR DELPHI PRIMER - _MACRO TEMPLATES & EXAMPLES

This Topic will provide macro templates configured for different common conditions. Each template library will be published as a separate reply in this posting along with specific units required. Note that Delphi and Datacad units included in the 'uses' declaration can are provided by Delphi and Datacad respectively. Each macro has been tested. Please report any anomalies you uncover.

Macro templates include

1. GetEsc Example. A simple macro with a single menu loop using the getesc() procedure to gain user input. This example includes an example of the callnone() procedure to notify thedispatcher of a non interface action in the EXECUTE STEP.
2. GetPnt Example. A simple macro with a single menu loop using getpoint() to read function keys and get points. It collects two points and draws a line. It also toggles several datarecord values and uses them to display menu titles and toggles which is useful if the macro changes thename of a menu item on the fly.
Last edited by Jsosnowski on Tue Dec 26, 2017 3:09 pm, edited 3 times in total.

Who is online

Users browsing this forum: No registered users and 32 guests

About DataCAD Forum

The DataCAD Forum is a FREE online community we provide to enhance your experience with DataCAD.

We hope you'll visit often to get answers, share ideas, and interact with other DataCAD users around the world.

DataCAD

Software for Architects Since 1984