- 积分
- 15341
- 明经币
- 个
- 注册时间
- 2002-2-4
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
发表于 2005-2-2 07:53:00
|
显示全部楼层
;;------------------------------------------------------------------------------- ;; Program Name: GetIcon.lsp [Get Icon R5] ;; Created By: Terry Miller (Email: terrycadd@yahoo.com) ;; Date Created: 4-1-00 ;; Function: Various dialog Get functions enhanced with the icons AlertX, ;; Block, Computer, Delete, Exclam, Filefolder, Folder, Frown, Inform, Printer, ;; Quest, Replace, Smile and None. These functions and utilities get the true ;; dialog string widths to create a C:\Temp\Temp.dcl dialog file on the fly and ;; return a string of the name of the button selected. ;;------------------------------------------------------------------------------- ;; Revision History ;; Rev By Date Description ;;------------------------------------------------------------------------------- ;; 1 TM 4-1-00 Initial version ;; 2 TM 12-1-00 Revised functions to allow up to 4 lines and to allow ;; choosing different icons. ;; 3 TM 1-1-01 Added Printer, Smile and Frown icons. ;; 4 TM 7-21-03 Added EditBox for entering string values. ;; Syntax: (EditBox "Title" "Label" "EditText" EditWidth) ;; 5 TM 5-20-04 Revised functions to allow up to 10 lines closer together, ;; and added the None option of not including an icon. ;;------------------------------------------------------------------------------- ;; Overview of Main Functions ;;------------------------------------------------------------------------------- ;; c:GetIcon - [GetIcon Help] - Displays GetIcon Get functions and syntax. ;; GetOK - Returns "OK" ;; GetOKCancel - Returns "OK" or "Cancel" ;; GetYesNo - Returns "Yes" or "No" ;; GetYesNoCancel - Returns "Yes", "No" or "Cancel" ;; GetYestoAll - Returns "Yes", "Yes to All", "No" or "Cancel" ;; GetRetryCancel - Returns "Retry" or "Cancel" ;; TempDcl - Creates a Temp.dcl dialog file and returns the button selected. ;; GetDclWidth - Get the true dialog string width. ;; GetPT [Get integer Points] - Utility for vector_line. ;; vector_circle - Draws vector circles, arcs and ellipses in an image tile. ;; vector_line - Draws vector lines in an image tile. ;; c:Vector_Circle - Vector_Circle Dialog Examples <-- Try It! ;; dtr - Degrees to Radians function ;; EditBox - Dialog for entering string values. ;;------------------------------------------------------------------------------- |
|