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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 330
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 268
An Address Book Reader
10-45
Changing the Width
If the new width is greater than the original width, set the figure to the new
width.
The size of the
Contact Name text box changes in proportion to the new figure
width. This is accomplished by:
Changing the
Units of the text box to normalized.
Resetting the width of the text box to be 78.9% of the figure’s width.
Returning the
Units to characters.
If the new width is less than the original width, use the original width.
Changing the Height
If the user attempts to change the height, use the original height. However,
because the resize function is triggered when the user releases the mouse
button after changing the size, the resize function cannot always determine the
original position of the GUI on screen. Therefore, the resize function applies a
compensation to the vertical position (second element in the figure
Position
vector) as follows:
vertical position when mouse released
+ height when mouse released minus
the original height
When the figure is resized from the bottom, it stays in the same position. When
resized from the top, the figure moves to the location where the mouse button
is released.
Ensuring the Resized Figure Is On Screen
The resize function calls movegui to ensure that the resized figure is on screen
regardless of where the user releases the mouse.
When the GUI is first run, it is displayed at the size and location specified by
the figure
Position property. You can set this property with the Property
Inspector when you create the GUI.
Code Listing
function ResizeFcn(hObject, eventdata, handles)
% Get the figure size and position
Figure_Size = get(hObject, 'Position');
% Set the figure's original size in character units
Przeglądanie stron 268
1 2 ... 264 265 266 267 268 269 270 271 272 273 274 ... 329 330

Komentarze do niniejszej Instrukcji

Brak uwag

Philips 303463166 manuals

Owner’s manuals and user’s guides for Unknown Philips 303463166.
We providing 1 pdf manuals Philips 303463166 for download free by document types: Manual


Philips 303463166 Manual (1 pages)


Brand: Philips | Category: No info | Size: 0.53 MB |

 

Table of contents





More products and manuals for Unknown Philips

Models Document Type
FC8033/01 Datasheet   Philips exhaust filter FC8033, 2 pages
FC8046 Datasheet   Philips FC8046 Disposable dust bag, 2 pages
305143166 Manual   Philips 305143166 User manual, 1 pages
Kidsplace Manual   Philips 300633486 User manual, 2 pages
303451766 Manual   Philips 303443166 User manual, 1 pages
369981786 Manual Philips 369984386 User manual, 2 pages
myKitchen Manual Philips myKitchen, 1 pages
300543186 Manual   Philips 300483186 User manual, 1 pages
Kidsplace Manual   Philips Kidsplace, 2 pages
320663176 Manual   Philips 320663176 User manual, 2 pages
34144/31/16 Specifications    Philips myBathroom Ceiling light 32005/31/16, 4 pages
316103186 User Manual   Philips Ceiling light 31610/11/86, 8 pages
34022/11/16 Specifications      Philips myBathroom Ceiling light 32021/11/16, 34 pages
408343116 User Manual   Philips Ledino 408343116 ceiling lighting, 8 pages
SM120V LED27S/840 PSD W60L60 Installation Manual   Philips SM120V LED37S/840 PSU W20L120, 2 pages
AEA1000/37 User Manual   Philips AEA1000/37 User manual, 16 pages
30852/31/16 Specifications       Philips myKidsRoom Ceiling light 30110/55/16, 32 pages
InStyle User Manual   Philips InStyle Ceiling light 37481/30/16, 8 pages
690573116 User Manual       Philips InStyle Ceiling light 69057/31/16, 25 pages
InStyle User Manual   Philips InStyle Ceiling light 40740/17/16, 8 pages