Hello,
I try to make a pull down menu in a toolbar that i made as a tbr-file.
First i made a toolbar without a pull down menu and that works fine.
In this macro the pull down menu works, but all the buttons in it are the same and perform the same action.
The button and action is always the same as the latest in the tbr-file.
I made some macro's that put "(2x)" to "(9x)" behind a dimension, and I also made 8 associated bitmaps images.
When i load the toolbar all the buttons show "(9x)" and also place "(9x)" behind the dimension.
If i only go till "(5x)" in the tbr file, the toolbar shows only "(5x)" buttons and also place "(5x)" behind the dimension.
And if a place a "(7x)" outside the pull down menu at the bottom of the tbr-file also all the buttons in the pull down menu shows "(7x)"
The two macro's outside the pull down menu works fine.
In this example i've placed also the "(7x)" at the bottom of the tbr-file.
The "label" of all the buttons is always good.
Do i something wrong?
Already thanks for the answers.
Using NX 8.0 on Windows 7 (64)
I try to make a pull down menu in a toolbar that i made as a tbr-file.
First i made a toolbar without a pull down menu and that works fine.
In this macro the pull down menu works, but all the buttons in it are the same and perform the same action.
The button and action is always the same as the latest in the tbr-file.
I made some macro's that put "(2x)" to "(9x)" behind a dimension, and I also made 8 associated bitmaps images.
When i load the toolbar all the buttons show "(9x)" and also place "(9x)" behind the dimension.
If i only go till "(5x)" in the tbr file, the toolbar shows only "(5x)" buttons and also place "(5x)" behind the dimension.
And if a place a "(7x)" outside the pull down menu at the bottom of the tbr-file also all the buttons in the pull down menu shows "(7x)"
The two macro's outside the pull down menu works fine.
In this example i've placed also the "(7x)" at the bottom of the tbr-file.
The "label" of all the buttons is always good.
Code:
!
! Unigraphics Blank startup
!
!
!
TITLE Test2
VERSION 170
DOCK TOP
BEGIN_DROPDOWN Aantal_keer_achter_maat
LABEL Aantal
AS_POPUP_MENU
BUTTON UG_MODELING_Macro_mfs
LABEL Zet (2x) achter de maat
BITMAP T:\NX\Custom\Macro\2x.bmp
ACTION T:\NX\Custom\Macro\2x.macro
BUTTON UG_MODELING_Macro_mfs
LABEL Zet (3x) achter de maat
BITMAP T:\NX\Custom\Macro\3x.bmp
ACTION T:\NX\Custom\Macro\3x.macro
BUTTON UG_MODELING_Macro_mfs
LABEL Zet (4x) achter de maat
BITMAP T:\NX\Custom\Macro\4x.bmp
ACTION T:\NX\Custom\Macro\4x.macro
BUTTON UG_MODELING_Macro_mfs
LABEL Zet (5x) achter de maat
BITMAP T:\NX\Custom\Macro\5x.bmp
ACTION T:\NX\Custom\Macro\5x.macro
BUTTON UG_MODELING_Macro_mfs
LABEL Zet (6x) achter de maat
BITMAP T:\NX\Custom\Macro\6x.bmp
ACTION T:\NX\Custom\Macro\6x.macro
BUTTON UG_MODELING_Macro_mfs
LABEL Zet (7x) achter de maat
BITMAP T:\NX\Custom\Macro\7x.bmp
ACTION T:\NX\Custom\Macro\7x.macro
BUTTON UG_MODELING_Macro_mfs
LABEL Zet (8x) achter de maat
BITMAP T:\NX\Custom\Macro\8x.bmp
ACTION T:\NX\Custom\Macro\8x.macro
BUTTON UG_MODELING_Macro_mfs
LABEL Zet (9x) achter de maat
BITMAP T:\NX\Custom\Macro\9x.bmp
ACTION T:\NX\Custom\Macro\9x.macro
END_DROPDOWN
BUTTON UG_MODELING_Macro_mfs1
LABEL Zet de maat tussen haakjes
BITMAP T:\NX\Custom\Macro\maat_tussen_haakjes.bmp
ACTION T:\NX\Custom\Macro\maat_tussen_haakjes.macro
BUTTON UG_MODELING_Macro_mfs3
LABEL Load all defaults
BITMAP T:\NX\Custom\Macro\load_all_defaults.bmp
ACTION T:\NX\Custom\Macro\load_all_defaults.macro
BUTTON UG_MODELING_Macro_mfs
LABEL Zet (7x) achter de maat
BITMAP T:\NX\Custom\Macro\7x.bmp
ACTION T:\NX\Custom\Macro\7x.macro
Do i something wrong?
Already thanks for the answers.
Using NX 8.0 on Windows 7 (64)