home *** CD-ROM | disk | FTP | other *** search
- // Next available MSG number is 24
- // MODULE_ID DLGTEST_DCL_
- /* Next available MSG number is 24 */
-
- //----------------------------------------------------------------------------
- //
- // DLGTEST.DCL Version 1.0
- //
- // Copyright (C) 1991, 1992, 1993, 1994 by Autodesk, Inc.
- //
- // Permission to use, copy, modify, and distribute this software
- // for any purpose and without fee is hereby granted, provided
- // that the above copyright notice appears in all copies and
- // that both that copyright notice and the limited warranty and
- // restricted rights notice below appear in all supporting
- // documentation.
- //
- // AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
- // AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
- // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
- // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
- // UNINTERRUPTED OR ERROR FREE.
- //
- // Use, duplication, or disclosure by the U.S. Government is subject to
- // restrictions set forth in FAR 52.227-19 (Commercial Computer
- // Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
- // (Rights in Technical Data and Computer Software), as applicable.
- //
- //.
- //----------------------------------------------------------------------------
- //
- // Dlgtest.dcl - For use with dlgtest.c and dlgtest.lsp
- // (Test Programs for User Programmable Dialog Boxes)
- //
- //----------------------------------------------------------------------------
-
- //dcl_settings : default_dcl_settings { audit_level = 3; }
-
- // Display and set some of the dimensioning variables
- dimensions : dialog {
- aspect_ratio = 0;
- label = "Controles de acotaci≤n de AutoCAD";
- : cluster {
- : cluster {
- layout = vertical;
- : cluster {
- layout = vertical;
- : toggle {
- label = "Suprimir lφnea referencia 1";
- key = "dimse1";
- }
- : toggle {
- label = "Suprimir lφnea referencia 2";
- key = "dimse2";
- }
- : toggle {
- label = "Texto en horizontal interior";
- key = "dimtih";
- }
- : toggle {
- label = "Texto en horizontal exterior";
- key = "dimtoh";
- }
- : toggle {
- label = "Texto sobre lφnea de cota";
- key = "dimtad";
- }
- : toggle {
- label = "A±adir tolerancia";
- key = "dimtol";
- }
- : toggle {
- label = "Generar lφmites";
- key = "dimlim";
- }
- : toggle {
- label = "Unidades alternativas";
- key = "dimalt";
- }
- : toggle {
- label = "Acotaci≤n asociativa";
- key = "dimaso";
- }
- : toggle {
- label = "Mostrar nueva cota";
- key = "dimsho";
- }
- }
- }
- : cluster {
- layout = vertical;
- : cluster {
- layout = vertical;
- : edit_box {
- label = "Tama±o flecha";
- key = "dimasz";
- }
- : edit_box {
- label = "Tama±o trazo";
- key = "dimtsz";
- }
- : edit_box {
- label = "Tama±o texto";
- key = "dimtxt";
- }
- : edit_box {
- label = "Tama±o marca centro";
- key = "dimcen";
- }
- : edit_box {
- label = "Desfasar lφnea referencia";
- key = "dimexo";
- }
- : edit_box {
- label = "Extensi≤n lφnea referencia";
- key = "dimexe";
- }
- : edit_box {
- label = "Extensi≤n lφnea de cota";
- key = "dimdle";
- }
- }
- }
- }
- ok_cancel;
- errtile;
- }
-
-
-
-
-
- // TestLisp DCL (Dialog Control Language)
- // Test Proteus/LISP
-
- setcolor : dialog {
- aspect_ratio = 0;
- label = "Seleccionar color";
- : cluster {
- layout = vertical;
- image_block;
- : list_box {
- key = "list_col";
- allow_accept = true;
- }
- : edit_box {
- key = "edit_col";
- allow_accept = true;
- label = "C≤digo color";
- edit_width = 10;
- fixed_width = true;
- }
- }
- ok_cancel_help;
- errtile;
- }
-
-
- chgtext : dialog {
- aspect_ratio = 0;
- label = "Cambiar texto";
- initial_focus = "old_str";
- : edit_box {
- key = "old_str";
- label = "Antiguo texto:";
- edit_width = 30;
- fixed_width = true;
- width = 45;
- }
- : edit_box {
- key = "new_str";
- allow_accept = true;
- label = "Nuevo texto :";
- edit_width = 30;
- fixed_width = true;
- width = 45;
- }
- ok_cancel;
- errtile;
- }
-
-