Cancel
Showing results for 
Search instead for 
Did you mean: 

Hide method icon

Valued Contributor
Valued Contributor

How can we Hide the method Icon from the window and make it to show only when required?

1 REPLY

Re: Hide method icon

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

You can insert a transparent icon ("Transparent") in the icon-editor for the class of the method (e.g. .informationFlow.method).

Than you can use the inheritance to switch between the icon "Transparent" and "Standard" (e.g. using a button).

 

For hide:

is 
do
 for local i:= 1 to ref(.InformationFlow.Method).numChildren loop 
  ref(.InformationFlow.Method).childNo(i).currIcon:="Transparent";
 next;
end;
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net