MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuel d'utilisateur Page 414

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 500
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 413
10 Lay Out a Programmatic UI
10-82
TooltipString specifies the tooltips for the push tool and the toggle tool as My push
tool and Your toggle tool, respectively.
In this example, setting the toggle tool Separator property to on creates a dividing line to
the left of the toggle tool.
You can change the order of the tools by modifying the child vector of the parent toolbar.
For this example, execute the following code to reverse the order of the tools.
oldOrder = allchild(tbh);
newOrder = flipud(oldOrder);
tbh.Children = newOrder;
This code uses flipud because the Children property is a column vector.
Use the delete function to remove a tool from the toolbar. The following statement
removes the toggle tool from the toolbar. The toggle tool handle is tth.
delete(tth)
Vue de la page 413
1 2 ... 409 410 411 412 413 414 415 416 417 418 419 ... 499 500

Commentaires sur ces manuels

Pas de commentaire