 AJL
		
			AJL
		
		
		
		
		
		
		
		
	
			02-28-2006 01:54 PM
 Brad_Turpin
		
			Brad_Turpin
		
		
		
		
		
		
		
		
	
			03-01-2006 09:28 AM
 Brad_Turpin
		
			Brad_Turpin
		
		
		
		
		
		
		
		
	
			03-01-2006 09:29 AM
03-01-2006 10:39 AM
03-01-2006 11:01 AM
 mdelsol
		
			mdelsol
		
		
		
		
		
		
		
		
	
			03-01-2006 11:46 AM
Hi all,
 
I have a similar "problem": Before to call an InteractionOn I would like to deactivate or hide some of the icons of the DIAdem VIEW, for example the Print and Calculator icons...
 
Is that possible? How can I do it?
 
Regards,
Marc.
03-01-2006 02:08 PM
By "Hijack", I was referring to Brad's post. Apparently you can use the existing icons below the menu bar and change what action the icon performs. I was wondering how this is accomplished.
AJL
 Julia Dawkins
		
			Julia Dawkins
		
		
		
		
		
		
		
		
	
			03-01-2006 02:33 PM
>By "Hijack", I was referring to Brad's post. Apparently you can use the existing icons below the menu bar and change what action the >icon performs. I was wondering how this is accomplished.
This is from the DIAdem Help files for Command: MenuItemChange: (it works for me!)
| WndName | Specifies the name of a DIAdem panel. | 
| MenuItemPos | Specifies the menu to which DIAdem adds a menu or a menu item. | 
| MenuItemTitle | Specifies the label of a menu or of a menu item. | 
| [MenuItemFct] | Specifies the function of a menu item in the Toolbar. | 
Call MenuItemChange(WndName, MenuItemPos, MenuItemTitle, [MenuItemFct])
The following example assigns the ToolTip Start Calculator and the CalculatorStart command to the third button in the DIAdem VIEW Toolbar.
Call MenuItemChange("VIEW","I.3","Start Calculator","Call CalculatorStart") 
 mdelsol
		
			mdelsol
		
		
		
		
		
		
		
		
	
			03-02-2006 05:10 AM
Hi,
 
I see how it works, but do you know why the commands: "MenuItemCountGet" and "MenuItemInfoGet" do not work with the icons?
 
We can use the MenuItemDel to remove an icon. It’s possible only to deactivate an icon?
 
Any way my problem is solved.
Thanks for showing me how to access to de icons… “I.3”
 
Best regards,
Marc.
 Julia Dawkins
		
			Julia Dawkins
		
		
		
		
		
		
		
		
	
			03-02-2006 08:33 AM
'MenuItemCountGet" and "MenuItemInfoGet" for "MenuItemPos" = "C" or "I" does not work for me either, perhaps I am not using it correctly. The following:
Call MenuItemCountGet("SCRIPT", "I")
MsgBox MenuItemCount
returns "-1" for me 😞
Hi,
I see how it works, but do you know why the commands: "MenuItemCountGet" and "MenuItemInfoGet" do not work with the icons?
We can use the MenuItemDel to remove an icon. It’s possible only to deactivate an icon?
Any way my problem is solved.
Thanks for showing me how to access to de icons… “I.3”
Best regards,
Marc.