
xi
Design the 3-D Globe UI . . . . . . . . . . . . . . . . . . . . . . . 9-69
Graphics Techniques Used in the 3-D Globe UI . . . . . . 9-74
Automatically Refresh Plot in a GUIDE UI . . . . . . . . . 9-79
About the Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-79
The Timer Implementation . . . . . . . . . . . . . . . . . . . . . 9-81
Create UIs Programmatically
Lay Out a Programmatic UI
10
Structure of Programmatic UI Code Files . . . . . . . . . . 10-2
File Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2
File Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2
Run the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-3
Create Figures for Programmatic UIs . . . . . . . . . . . . . . 10-4
Programmatic Components . . . . . . . . . . . . . . . . . . . . . . 10-6
Add Components to a Programmatic UI . . . . . . . . . . . . 10-9
User Interface Controls . . . . . . . . . . . . . . . . . . . . . . . . 10-9
Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-21
Panels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-22
Button Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-24
Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-26
ActiveX Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-28
How to Set Font Characteristics . . . . . . . . . . . . . . . . 10-28
Lay Out a UI Programmatically . . . . . . . . . . . . . . . . . . 10-31
Component Placement and Sizing . . . . . . . . . . . . . . . 10-31
Managing the Layout in Resizable UIs . . . . . . . . . . . 10-36
Manage the Stacking Order of Grouped Components . 10-39
Adjust Programmatic UI Layouts Interactively . . . . . 10-40
Set Positions of Components Interactively . . . . . . . . . 10-41
Align Components . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-51
Commentaires sur ces manuels