MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Instrukcja Użytkownika Strona 354

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 500
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 353
10 Lay Out a Programmatic UI
10-22
You can change several other characteristics of the table by setting certain properties:
• To control the user’s ability to edit the table cells, set the ColumnEditable property.
• To make your application respond when the user edits a cell, define a
CellEditCallback function.
• To add or change row striping, set the RowStriping property.
• To specify row and column names, set the RowName and ColumnName properties.
• To format the data in the table, set the ColumnFormat property.
See Uitable Properties for the entire list of properties.
If you are building a UI using GUIDE, you can set many of the uitable properties using
the Table Property Editor. For more information, see “Create a Table”.
Panels
This code creates a panel:
f = figure;
p = uipanel(f,'Title','My Panel',...
'Position',[.25 .1 .5 .8]);
Przeglądanie stron 353
1 2 ... 349 350 351 352 353 354 355 356 357 358 359 ... 499 500

Komentarze do niniejszej Instrukcji

Brak uwag