TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Visual DCL Programming => Topic started by: dubb on February 17, 2017, 03:15:08 PM
-
I am trying to create a textbox with DCL. I have read that DCL only supports a single line.
ObjectDCL, OpenDCL, Doslib will not work for me because I cannot install executables in my office network environment.
The goal of my next script would be to allow the user to enter multi-line text in a textbox and save it to a .txt file on the network.
Any ideas on how to achieve this?
-
I've previously used a list box to display multiline text, as per this example (http://lee-mac.com/tipoftheday.html).
-
What about creating a list of strings and popultate the DCL code on the fly, by using paragraph and text_part:
http://www.afralisp.net/archive/lispa/lisp48u.htm
-
This is an old routine that works with text file stored data.
I never completed the user edit portion. It was easy to edit the stored data directly.
http://www.theswamp.org/index.php?topic=1392.0
-
Whilst a dcl would be nice could you not just use mtext, pull the text out after closing write to file then erase it.
-
This is an old routine that works with text file stored data.
I never completed the user edit portion. It was easy to edit the stored data directly.
http://www.theswamp.org/index.php?topic=1392.0
I like what you have done with this script, its what I'm trying to achieve.
Per other replies, I'm also going to explore those methods.