Visible

This command will make a menu icon button visible or hidden on menu strip.

Group: Menu Strip Extensions

Syntax: MenuStrip.Visible(Name, bVisible)

Name           (Varient) The name of the icon button to be made visible or not.

bVisible        (Boolean) True makes the icon visible on the Menu Strip. False hides it.

Example:MenuStrip.Show(bShow)

Private Sub Form_Load()

On Error Resume Next

If App.CanBackup Then

   MenuStrip.Visible("Settings", False) 'If user is able to backup, the Settings icon is no longer visible.

Else

   App.SetMenuCaption(App.UserName)

End If

End Sub

MenuStrip.Visible(Settings, False) ' hides the Settings icon only.

Supported Versions:  RFgen 5.2.3 and newer.