Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
MicroStation
  • Product Communities
  • More
MicroStation
[Archived] AskInga Wiki Make your toolbox pop up and down
    • Sign in

    • -AskInga
      • +3D MicroStation
      • +AccuDraw Secrets
      • +Animation - Rendering
      • +Behind The Scenes
      • +Cells
      • +Colours
      • +Conversion - Translation
      • +Coordinate Input
      • +Design Settings
      • +Dimensions
      • +DWG
      • +EDG
      • +Element Manipulation
      • +Element Properties
      • +Element Selection
      • +Freeware - Shareware
      • -Interface Look And Feel
        • Add a line separator in a barmenu
        • Add custom file types to list files of type
        • Add your favorite web-site to the menu bar
        • Adding icons to your tools
        • Adjust the response time for pop-up dialogs to close
        • Adjust width of message center
        • All about function keys and function key menus
        • An introduction to templates, tasks and tools
        • Auto-hide the tools settings when cursor gets too close
        • Auto-restore status bar
        • Barmenu wars - comments from CCM
        • Change how levels are displayed in the attributes dialog
        • Change screens
        • Change system colour for disabled menu item with this macro
        • Change the weight of your V7 element handles
        • Change your task bar icon
        • Create clickable screen menus
        • Create custom icons with ease
        • Customize the width of the level picker
        • Customize where to use position mapping
        • Customizing your mouse buttons
        • Default button and function keys
        • Dialog box IDs
        • Dialog column display
        • Disable auto-highlighting when passing cursor over elements
        • Dock stuff to the left of file in the menu bar
        • Don't show tools you seldom use
        • Easier access to level locks and other stuff
        • ESC to go home
        • Exceed function key character limit
        • Export MicroStations icons from the open DGN library
        • Extract information from dialogs
        • Faster switching between folders
        • File icons in the MicroStation manager
        • Fly with Barmenus - Part 1
        • Fly with Barmenus - Part 2
        • Fly with Barmenus - Part 3
        • Get dialog IDs from an external file
        • Get rid of tool boxes
        • Get to the keyin window faster
        • Give MicroStation an antiqued look
        • How to customize displayed columns in MicroStation manager
        • Importing customization from M01 and STG files
        • Improve on the Dmsg sinkall toggle command
        • Improved dynamics in MicroStation V8.5 will rock you
        • Keyin for the menu bar
        • Keyin for toggling the message center
        • Keyin to toggle dialogs on and off
        • Keyin toggle for the status bar
        • Keyins for the WinOpen Windows file open dialogs
        • Keyins or data point tentative point and reset
        • Keyins to toggle dialogs and toolboxes (pre-V8)
        • Keyins to toggle toolboxes (V8)
        • Left-handers unite change position mapping to your side
        • Load different function key menus
        • Make your toolbox pop up and down
        • Maximize real estate when drawing with ByLevel definitions
        • Maximum number of open GUI items
        • Miss the old main tool frame in MicroStation V8 XM Edition
        • Missing snaps
        • Move the menu bar
        • Navigate through task list quicker
        • Open current task as pop-up under your cursor
        • Open dialogs from primary tools under your cursor
        • Open the main task or toolbox near your cursor
        • Pop-up menu in the models dialog
        • Position mapping continues to work if toolbox is closed
        • Press and hold the reset for pop-up menu
        • Prevent tool boxes from changing orientation when moving
        • Prompts too long
        • Put the focus in the tool settings dialog
        • Put the focus into the tool settings window when a tool is selected
        • Quick select with position mapping
        • Quickly change screens on dialogs
        • Remove open URL from file menu
        • Remove send from the file menu
        • Remove send viecon plot from the file menu
        • Reorder the task list
        • Restore deleted menu items in MicroStation V8 XM Edition
        • Restore menu bar customizations
        • Right click menu in the tool settings box
        • Save your messages
        • Set the pointer circle to a different colour
        • Sidebar Menus
        • Small triangles mysteriously showing up in your views
        • Stuck dialogs
        • Swap user interfaces on the fly
        • Tips for Barmenus
        • Toggle the display of the ACS triad
        • Transparent dialogs
        • Turn on-off positional mapping aids
        • Unwanted datapoints
        • Use shift to activate representative or previous tool
        • Useful DMSG keyins
        • Using a tablet take a peek at the new V8.5 menu
        • Using Named Expressions to drive interface items – A sample
        • Using WinOpen to change MicroStation's dialogs
        • Utilize the space beside the menu bar to dock tool boxes
      • +Internet - E-Links - Links
      • +Keyins
      • +Levels
      • +Line Styles
      • +Models
      • +MSM Archive
      • +Other
      • +Presentations
      • +Printing - Plotting
      • +Programming - Automation
      • +Rasters - Images
      • +References
      • +Tags - Data Fields - Fields
      • +Text - Fonts - Annotation
      • +Views
      • +Windows - Interacting With
      • +Workspaces - Configuration
    • graffiti

     
     Questions about this article, topic, or product? Click here. 

    Make your toolbox pop up and down

    AskInga logo

    Original Article Date: Aug 12, 2002 

    Fellow Canuck Doug Watt submitted this article which outlines a nifty way of creating a toolbox popup menu in MicroStation V7. Combine his idea with a programmable mouse and watch your productivity soar! This article is especially useful for those with limited screen real estate. Thanks Doug!

    An item that has long been on my wish list for MicroStation is a user customizable popup menu. It would have to be a graphics based menu, not text based. My idea ran along the lines of a digitizer where the tools could be laid out in front of me, but because of its ‘popup’ nature, would take up no screen real estate. When no popup menu appeared on the scene, I decided to see if I could come up with a reasonable facsimile. The answer turned out to be rather simple...Just use the standard MicroStation customization tools!

    Step 1:
    From Workspace > Customize, create a new toolbox by clicking on Edit Tool Box > Create Tool Box and enter a name. I called mine Template.

    Then, one by one, copy the tools you desire from the Available Tools From field to your new Template toolbox. You can also use Insert to create your own tools. Hint! As you create your new toolbox, you can arrange the tools in any order you like. Simply grab the tool entry in the Edit Tool Box column and drag them either up or down.

    In my case, I wanted each row of the tool box to contain 20 tools and copied a spacer at the end each row.

    I also chose those tools I use regularly for the most part. When I was done the menu looked like this:

    It's also helpful to organize the tool box is a logical manner, again something similar to a digitizing menu. For example in the above toolbox:


    Row 1 – Selector/Placement/Fence
    Row 2 – Text/Patterning/Dimensions
    Row 3 – Cells/Groups/Changes
    Row 4 – Modify/Manipulate
    Row 5 – Solid Modelling
    Row 6 – Surface Modelling
    Row 7 – B-Spline Curves
    Row 8 – Tags/Measure/View Commands

    I use this new toolbox as a substitute for the Main and 3D tool frames, but once in a blue moon I may need a tool I didn't include, such as Review Tags. To remedy this, I included a user defined tool at the end of the B-Spline row. This tool toggles the Main and 3D tool frames ON/OFF so I can access these abandoned tools. The syntax for this action is dialog toolbox main toggle;dialog toolbox solid toggle

    Step 2:
    OK, now that we have our toolbox, how do we make it a popup menu?

    First we have to find out what dialog number MicroStation assigned to our new toolbox and the easiest way to do this is to pretend to make a new pulldown menu in the Customization dialog. Click on the Menu Bar tab and double click on the File entry on the right side. Then single click on New, hit Insert and select Attach Tool Box in the Insert Menu Item dialog. Navigate to and highlight the new toolbox called Template and click OK. The toolbox's assigned dialog number will be shown in the keyin field of the dialog. In fact this is the exact keyin you will need to make your popup menu, so copy it to the clipboard with CTRL+C.

    Attention! After copying the keyin to the clipboard, click Cancel on the Insert Menu Item dialog otherwise you will end up with an unwanted pulldown in your File menu item.

    Note: Do not be alarmed if the number you get is not the same as the one above. In fact if you are customizing MicroStation for the first time, the number will most likely be 901. If you have other customized toolbars and 901 has been assigned somewhere else, your number will be different. For more information about resources numbers, please refer to Using keyins to toggle dialogs and toolboxes!



    The line dialog toolbox 901 toggle can now be placed under a function key, say F12 and will popup (and down) your toolbox each time F12 is activated.

    Hint: If you have a programmable mouse, you may want to set the extra button to be F12. This would make the popup menu available with a simple mouse click. And ideal for those mice with a thumb button. Please refer to: Customizing your mouse buttons

    Now for the tedious chore. To auto-close the toolbox after selecting each command, you must modify each tool and append ;dialog toolbox 902 toggle to each keyin as shown below. Although it sounds like a huge task, it took me about 20 minutes during a lunch hour to edit every tool in my new Template toolbox! Not too bad!

    Once you are finished, the effect is excellent. Click your mouse button or press F12 and the toolbox pops up. Select the tool and the menu pops down. Happy clicking!

     

    AskInga Article #118

    • Askinga
    • Article
    • Interface Look and Feel
    • Share
    • History
    • More
    • Cancel
    • Anonymous Created by Anonymous
    • When: Fri, May 30 2008 2:15 PM
    • Jordan Stierly Last revision by Bentley Colleague Jordan Stierly
    • When: Fri, Jun 11 2010 10:36 AM
    • Revisions: 4
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies