#1
|
|||
|
|||
ME10 toolboxes
Here is what I am trying to do. Create a toolbar button that once clicked creates a pop-up dialog box.
Looking through the documentation I have found something I believe is it and I have tried it to no avail. "SHOW_AS_POPUP" Has anyone used it before, I am going to keep trying. |
#2
|
||||
|
||||
What do you mean by "Dialog Box"? In the Classic UI you can create menus. In the Windows UI you can create Toolbars. Dialog box sounds like something you create in Modeling/SolidDesigner.
You can create a toolbar button which opens another toolbar or a drop down menu. Something like: Code:
TOOLBAR_ITEM OVER_WRITE 'pob_button_name' CAPTION 'My Button' TOOLTIP 'This opens my custom menu' ITEM_TYPE POPUP_BUTTON 'tlb_my_toolbar' ADD_TO_TOOLBAR END Code:
TOOLBAR DEL_OLD 'tlb_my_toolbar' END TOOLBAR_ITEM OVER_WRITE 'txt_my_toolbar' CAPTION 'My Toolbar' ITEM_TYPE STATIC_TEXT ADD_TO_TOOLBAR 1 END TOOLBAR_ITEM OVER_WRITE 'Separator' ADD_TO_TOOLBAR 2 END TOOLBAR_ITEM OVER_WRITE 'btn_function_1' CAPTION 'Button 1' TOOLTIP Description' ON_ACTION 'macro_name' ADD_TO_TOOLBAR 2 END ..... more buttons TOOLBAR CAPTION 'AT EPDM' VISIBLE OFF FLOAT 50 50 1 END
__________________
John Scheffel |
#3
|
|||
|
|||
For example in Me10 you click Setup-->Edit Environment--> Contruction....
The Construction settings dialog box appears. You see what I am able to do is in the old ME10 create a menu with about 2 columns. You can place buttons. I think that this can be done in the Windows Interface. I think it can be a toolbar that is a pop up dialog box. I click on a button, this lauches the new toolbar to give the user some interation. I am attampting to move the old ace Hardware macro to windows, I have been able to move most of the fuctionality I needed over and I believe once I get this to work the way I know it can, I may be able to solve a few other problems I am having. Thanks for your Help. |
#4
|
||||
|
||||
Quote:
Did you know that you can open Classic style menus in the Windows UI? I think this feature was added in version 10.50. It definitely works in version 11. If you want to try it, enter "Sm_plot" on the command line. This should open the classic PLOT menu. You might be able to open ACE this way in the Windows UI, although it might require some tweaking. You can definitely create your own Classic style menus then open them from Toolbar buttons.
__________________
John Scheffel |
#5
|
|||
|
|||
That is the way I go the old menus to work, which is OK, but at one time Cocreate was thinking about removing that functionality so we need to rebuild what menus we are using in the old interface.
I suspect I need to create a toolbar containing these buttons. |
#6
|
||||
|
||||
Quote:
It sure would be nice to get some official information from somone at CoCreate. It seems that many of the lab people involved in Modeling development post here, but not much repsonse from the Drafting developers.
__________________
John Scheffel |
#7
|
|||
|
|||
Attached is a photo of a Toolbox on the Left with Combo Box's, CheckBox's and Push Button. Default width of each item is based upon the widest control. Sometimes can make the Form large and clumbersome.
I prefer to call up a Form created in Visual Basic (Form on the right) and be able to control the size and location of the controls. The form is called up thru DDE. Good luck, Mike "the Rat" |
#8
|
|||
|
|||
Why can't I attach a file ?
|
#9
|
||||
|
||||
Quote:
I would also like to know how you open a VB form from ME10 and pass the results back to ME10 (if it's not too much work to explain). I know it's supported, but have never seen any documentation on how to use it.
__________________
John Scheffel |
#10
|
|||
|
|||
Toolbar
When I close ME 10 11.65 and re-entry the toolbar are in other position-
Can I block the toolbars in a structure. Thanks |
#11
|
||||
|
||||
Re: Toolbar
Quote:
Normally the toolbar layout is saved and restored when you exit and restart Drafting/ME10. However, if you are loading a custom toolbar from a file everytime you startup, it's position could be established by that file and overide the saved position.
__________________
John Scheffel |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|