乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 28|回复: 0

[编程交流] 需要lisp dcl幻灯片的帮助

[复制链接]

17

主题

59

帖子

44

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
83
发表于 2022-7-5 22:24:09 | 显示全部楼层 |阅读模式
我想在通过另一个edit\u box edit\u box时更改处于活动状态的图像,以尽可能显示我的其他图像,我不需要edit\u列表
DCL
  1. test_dcl : dialog { label = "Lee Mac Modified";
  2. spacer;
  3. :row {
  4. :boxed_column{label="Setari Corpuri Baza Bucatarie";
  5. : edit_box { //define edit box
  6.                 key = "eb1" ;                                //give it a name
  7.                 allow_accept = false;
  8.                 is_tab_stop = false;
  9.                 is_enabled  = true;
  10.                
  11. label = "&Gaura din fata fund/mm" ;                //give it a label
  12.                 edit_width = 4 ;                        //4 characters only
  13.        }//edit_box                       
  14. : edit_box { //define edit box
  15.                 key = "eb2" ;                                //give it a name
  16.                
  17.                
  18. label = "&Gaura din spate fund/mm" ;                //give it a label
  19.                 edit_width = 4 ;                        //4 characters only
  20.        }// edit_box               
  21. : edit_box { //define edit box
  22.                 key = "eb3" ;                                //give it a name
  23.                
  24. label = "&Gaura din spate lateral/mm" ;                //give it a label
  25.                 edit_width = 4 ;                        //4 characters only
  26.        }// edit_box                               
  27. : edit_box { //define edit box
  28.                 key = "eb4" ;                                //give it a name
  29.                
  30. label = "&Gaura din fata lateral/mm" ;                //give it a label
  31.                 edit_width = 4 ;                        //4 characters only
  32.        }// edit_box                                               
  33.         }// end boxed_column
  34. : boxed_column { label = "Image Slide";
  35.      : image { key = "sld";
  36.         height = 15;
  37.         fixed_height = true;
  38.        width = 50;
  39.         fixed_width = true;
  40.         color = 0;
  41.         aspect_ratio = 1;
  42.        is_enabled = false;
  43.         is_tab_stop = false;
  44.              }
  45.    }
  46. }
  47. ok_cancel;
  48. }

 
Lisp程序
(defun c:test(/slide path dch lst)(setq path“c:\\acad\”)(defun slide(key file)(if(setq file(findfile file))(progn(start\u image key)(fill\u image 0 0(dimx\u tile key)(dimy\u tile key)0)(slide\u image 1(-dimx\u tile key)2)((dimy\u tile key)2)文件)(end\u image))(cond((
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-11 05:59 , Processed in 0.613392 second(s), 54 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表