Jump to content

Recommended Posts

Posted

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

  • Replies 29
  • Created
  • Last Reply

Top Posters In This Topic

  • Lee Mac

    10

  • sharpooth

    9

  • BlackBox

    6

  • Lt Dan's legs

    3

Top Posters In This Topic

Posted Images

Posted

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.

 

Posted
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.

Posted
Any smaller than the text within an alert box and it'd practically illegible.

 

 

Example:

Tip_of_the_day.JPG

Posted

Yay for Wikipedia :)

 

I'm sad enough to confess that I put that factorial example on there.... :geek:

Posted
Yay for Wikipedia :)

 

I'm sad enough to confess that I put that factorial example on there.... :geek:

 

 

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

Posted

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)

Posted
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?) :unsure:

Posted

what have in this video clip. I can not see. ?!

Posted
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?) :unsure:

 

You could use OpenDCL, or maybe a list_box in standard DCL (won't look as good though).

Posted
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

Posted
Ahh that's a shame - 'twas the White & Nerdy vid by Weird Al Yankovic

 

 

Oh yeah! I forgot your brother was in 'Show Business'! :P

Posted

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?

Posted
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.

Posted

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?

Posted
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...

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...