sharpooth Posted November 5, 2010 Posted November 5, 2010 Hello to all, How I can put a multi line text i small window with DCL? My purpose is to do "Tip of the Day" when autocad is starting, Thanks Quote
sharpooth Posted November 5, 2010 Author Posted November 5, 2010 Thank you Alanjt! May be (alert "Hello world") is good if you have a few words. The window must be small, and the text containig a few paragraphs. Quote
BlackBox Posted November 5, 2010 Posted November 5, 2010 If you're wanting to develop something simple, that gives a lot more 'pop' then DCL, perhaps consider using Windows Presentation Foundation (WPF). Quote
alanjt Posted November 5, 2010 Posted November 5, 2010 Thank you Alanjt!May be (alert "Hello world") is good if you have a few words. The window must be small, and the text containig a few paragraphs. Any smaller than the text within an alert box and it'd practically illegible. Quote
BlackBox Posted November 5, 2010 Posted November 5, 2010 Any smaller than the text within an alert box and it'd practically illegible. Example: Quote
Lee Mac Posted November 5, 2010 Posted November 5, 2010 Yay for Wikipedia I'm sad enough to confess that I put that factorial example on there.... Quote
BlackBox Posted November 5, 2010 Posted November 5, 2010 Yay for Wikipedia I'm sad enough to confess that I put that factorial example on there.... Get the fudge out of here! lmfao ... Did you really!? Here's the page I got when i did a quick search for "wikipedia autocad lisp alert": http://en.wikipedia.org/wiki/AutoLISP Quote
Lee Mac Posted November 5, 2010 Posted November 5, 2010 Get the fudge out of here! lmfao ... Did you really!? Yeah, just so I could say 'I've editied Wikipedia' http://www.youtube.com/watch?v=09XQLmBNrCo Quote
sharpooth Posted November 5, 2010 Author Posted November 5, 2010 Thank you RenderMan! Yes, this example is good , but it is needing from a big resolution of display. The display resolution is 1024x768. This is the reason that I want a small text box with vertical slider (scroll) Quote
BlackBox Posted November 5, 2010 Posted November 5, 2010 Yeah, just so I could say 'I've editied Wikipedia' http://www.youtube.com/watch?v=09XQLmBNrCo YouTube Error: "This video contains content from Sony Music Entertainment. It is not available in your country." Quote
BlackBox Posted November 5, 2010 Posted November 5, 2010 Thank you RenderMan!Yes, this example is good , but it is needing from a big resolution of display. The display resolution is 1024x768. This is the reason that I want a small text box with vertical slider (scroll) You're welcome. I am not adept at writing/modifying DCL code, but the screen shot I provided you was from my monitors at work (3360x1050 Resolution). Edit: ... Which should be more than sufficient. If you want scrollbars in your dialog window, *I believe* you'll need to step up into VB.NET / Visual Studio. (Correct me where I am wrong guys?) Quote
sharpooth Posted November 5, 2010 Author Posted November 5, 2010 what have in this video clip. I can not see. ?! Quote
Lee Mac Posted November 5, 2010 Posted November 5, 2010 If you want scrollbars in your dialog window, *I believe* you'll need to step up into VB.NET / Visual Studio.(Correct me where I am wrong guys?) You could use OpenDCL, or maybe a list_box in standard DCL (won't look as good though). Quote
Lee Mac Posted November 5, 2010 Posted November 5, 2010 YouTube Error: "This video contains content from Sony Music Entertainment. It is not available in your country." Ahh that's a shame - 'twas the White & Nerdy vid by Weird Al Yankovic Quote
BlackBox Posted November 5, 2010 Posted November 5, 2010 Ahh that's a shame - 'twas the White & Nerdy vid by Weird Al Yankovic Oh yeah! I forgot your brother was in 'Show Business'! Quote
sharpooth Posted November 5, 2010 Author Posted November 5, 2010 Ooo this is a huge - Resolution 3360x1050 ! Thank you Lee Mac! I can use list_box in DCL but this is not good solution, because in this list We are adding variables, not a strings! Right? Quote
Lee Mac Posted November 5, 2010 Posted November 5, 2010 Ooo this is a huge - Resolution 3360x1050 !I can use list_box in DCL but this is not good solution, because in this list We are adding variables, not a strings! Right? Not sure I understand you with the list_box comment, all the solutions will be strings. The downside of the list_box is that the lines must be added in a list fashion, so there's more legwork. Quote
sharpooth Posted November 5, 2010 Author Posted November 5, 2010 Thank you Lee Mac! Yes, all lines in list_box are strings. May be I have to do more legwork, and to divide the text of equal parts. Right? Quote
Lee Mac Posted November 5, 2010 Posted November 5, 2010 Thank you Lee Mac!Yes, all lines in list_box are strings. May be I have to do more legwork, and to divide the text of equal parts. Right? Correct, then populate the list with the strings - but, really, the list_box is meant for user selection, not message display... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.