Jump to content

Recommended Posts

Posted (edited)

I expected that to happen :lol: a blank list would certainly crashed the program. easy fix. But regarding the same string for different sets is unusual. i will look into that later today.

 

Ah.. I know why that happens... what we'll do is prevent the user from emptying the list.

 

NOTE: always keep a backup of the ini files

 

BTW:

I'm so sorry. the original program have many shortcomings.

 

Its not that, Entirely my fault :oops:

 

If can placed Strings dynamically

 

please explain >

 

CODE UPDATED post#33

Edited by pBe
  • Replies 46
  • Created
  • Last Reply

Top Posters In This Topic

  • AIberto

    22

  • pBe

    18

  • Dahzee

    3

  • tombu

    2

Top Posters In This Topic

Posted Images

Posted (edited)

 

please explain

 

1.gif

 

 

center alignment

1.png

 

 

placed Strings dynamically is like this:

 

3.gif

Edited by AIberto
Posted

pBe,

 

I have been following this thread and it looks really useful, you have really put some work into this.

 

I downloaded your files to try it out but sadly couldn't get the routine to work.

 

I am using Bricscad V15 and this is probably why it isn't working (apart from operator error of course!).

 

This is what I get at the command line when I try to run the routine.

 

; ----- LISP : Call Stack -----

; [0]...C:TCF

;

; ----- Error around expression -----

(UNLOAD_DIALOG DLG_ID)

;

 

Does this mean anything to anyone, if so is it fixable?

 

Many Thanks in advance

 

Dahzee

Posted

..

I have been following this thread and it looks really useful, you have really put some work into this.

...

I downloaded your files to try it out but sadly couldn't get the routine to work.

 

I am using Bricscad V15 and this is probably why it isn't working (apart from operator error of course!).

 

Thank your trying out the routine, but its not all me.

 

DCL should be working for Bricscad V15 as far as i can tell. if you run this what do you see? (findfile "tcf.dcl") Also we may have to wrap the whole "THEN" to include this lines (unload_dialog DLG_ID)(writefn crtlsts). Right now the code does not have an expression for "ELSE".

Posted

pBe,

 

Thanks for the quick reply!

 

When I run (findfile "tcf.dcl"), the response is nil.

 

I have made sure the .lsp, .dcl and .ini files are all in my support path.

 

Thanks for taking the time to look at this for me.

 

Dahzee

Posted (edited)

When I run (findfile "tcf.dcl"), the response is nil

 

There lies the problem Dahzee. But its odd findfile evaluates to nil though

 

I have made sure the .lsp, .dcl and .ini files are all in my support path.

 

Is it working now when you did that? :unsure: EDIT: i will update the files on post#33 later

 

CODE UPDATED at POST#33

 

 If INI files are not found "<<< Dialog Box File not Found >>>"
If DCL files is not found "<<< Dialog Box File not Found >>>" 

Edited by pBe
Posted

pBe,

 

Quick update, everything now seems to be working!

 

I created a separate folder to hold all the files and added it to my support path and included it in my folder list and it seems it is behaving perfectly.

 

I did say it was probably operator error!

 

Thanks for your time.

 

Dahzee

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