×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Menu script for turning off / on programs..

Menu script for turning off / on programs..

Menu script for turning off / on programs..

(OP)
Hi,

How do i code the menus so the user has the option of turning on / off certain programs / tools i have written..

Is there a generic way to code diesel that way?

One example is that i have a program that switches to certain dimstyles dependant on if the user is is paperspace or modelspace but i want to be able to have a menu switch so they can toggle this function off or on..

     Cheers,
           Paul @ basepoint designz ltd..

basepointdesignzltd
www.bpdesignz.com

RE: Menu script for turning off / on programs..

I don't quite follow - the program that switches dimstyles, does it detect when user changes space (with reactors), or is it part of a dimensioning macro? Is the program lisp/vba that can be modified?

RE: Menu script for turning off / on programs..

(OP)
its only a small vba program that detects if the user switches between modelspace and paperspace and changes the active dimstyle. but what i need is a menu macro that the user can toggle on or off whether the prgram runs or not as they want....

     Cheers,
           Paul @ basepoint designz ltd..

basepointdesignzltd
www.bpdesignz.com

RE: Menu script for turning off / on programs..

Hi basepointdesignz,

Since it's vba, you'll need to toggle loading and unloading (you can just use autolisp for this -vbaload/-vbaunload), unless you code your vba macro to read either the menu itself (maybe checked or un-checked) or check the value of one of the user system variables USERR1...5 USERS1...5 etc.

HTH
Todd

RE: Menu script for turning off / on programs..

Does anyone have a lisp to run in 2005 to dimension points as x(linear) and y(diameter(2X))?
TIA

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close