Setting Up Dialog Values

When you run the complete garden path application, notice that the dialog box always starts up with ActiveX as the default object creation method and Lightweight as the polyline style. Something more interesting occurs with the default tile size—the values change depending on the width of the path. The following code fragment shows how to set up the default values to be displayed in the dialog box:

(setq   objectCreateMethod  "ACTIVEX"
		plineStyle  "LIGHT"
		tilerad   (/ pathWidth 15.0)
		tilespace (/ tilerad 5.0)
		dialogLoaded T
		dialogShow T
  ) ;_ end of setq

For the moment, don't worry about what purpose the dialogLoaded and dialogShow variables serve. This becomes apparent in the next two sections.