[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
forum.datacad.com • View topic - PART FIVE - A DCAL FOR DELPHI PRIMER - MACRO TEMPLATES
Page 1 of 1

PART FIVE - A DCAL FOR DELPHI PRIMER - MACRO TEMPLATES

PostPosted: Sun Sep 17, 2017 7:26 pm
by Jsosnowski
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.

Re: PART FIVE - A DCAL FOR DELPHI PRIMER - GETESC EXAMPLE

PostPosted: Sun Sep 17, 2017 7:27 pm
by Jsosnowski

Re: PART FIVE - A DCAL FOR DELPHI PRIMER - GETPNT EXAMPLE

PostPosted: Sun Sep 17, 2017 8:02 pm
by Jsosnowski