Qonfire Posted January 13, 2012 Posted January 13, 2012 Hello guys I have 2 dialog,when dialogs are on separate files they d'ont contain error, but when i just copy paste 2nd below the 1st dialog, second dialog has an error. make your bets thank you Quote
Qonfire Posted January 13, 2012 Author Posted January 13, 2012 Admin's please delete this thread,question is too vague Quote
Qonfire Posted January 14, 2012 Author Posted January 14, 2012 Problem was in the first dialog, I was using one function to get the error line in dcl, but I think it just brought more confusion. I have a question: I don't know whats a term of this thing,I attached on sketch how to stop it? Quote
Lee Mac Posted January 14, 2012 Posted January 14, 2012 Looks like the cursor symbol that appears when the VLIDE cannot be used due to a Dialog / Command taking focus; cancel the dialog / command to return focus to the VLIDE. Quote
Qonfire Posted January 14, 2012 Author Posted January 14, 2012 (edited) I couldn't press anything else, Cant type, cant edit. Had to use task manager to terminate. Can't press " x " to close dialog. Lee when you say cancel the dialog You mean click on "x" of dialog? Another question: I want to restrict user to a selection of an item from list, and evaluate if an item was selected before ok is pressed. I thought mode_tile " " will do it,but no (if (= 0 (atoi (get_tile "selections11"))) (progn (set_tile "error" "Select #1 Sprinkler from list") (mode_tile "selections11" 2) ) ) Edited January 14, 2012 by Qonfire Quote
Lee Mac Posted January 14, 2012 Posted January 14, 2012 I couldn't press anything else, Cant type, cant edit. Had to use task manager to terminate. Can't press " x " to close dialog. Lee when you say cancel the dialog You mean click on "x" of dialog? Sounds like you are missing a (start_dialog) call. Quote
Qonfire Posted January 14, 2012 Author Posted January 14, 2012 Sounds like you are missing a (start_dialog) call. Is this comment pertaining to cancel the the visual lisp cursor running thing or this part of the script? I put just part of code. (if (= 0 (atoi (get_tile "selections11"))) (progn (set_tile "error" "Select #1 Sprinkler from list") (mode_tile "selections11" 2) ) ) P.S. Even if I forget start_dialog how can I reset the runing console thing without terminating visual lisp from from taskmanager Quote
Lee Mac Posted January 14, 2012 Posted January 14, 2012 P.S. Even if I forget start_dialog how can I reset the runing console thing without terminating visual lisp from from taskmanager AFAIK, you can't. If you forget to include a (start_dialog) call after a (new_dialog) call, the dialog will hang and will need to be terminated from the taskmanager. The cursor appears in the way that it does because that is standard behaviour for the VLIDE when a dialog or command is active in AutoCAD. 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.