MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Betriebsanweisung Seite 179

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 256
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 178
Design the layout of the custom component 179
If you switch to Design mode, the component also appears in the Custom category of the
Components view:
If you save a custom component file in the current project or in the source path of the current
project, Flex Builder displays the component in the Components view so that you can rapidly
insert it in your applications.
Design the layout of the custom
component
The next step is to design the layout of the custom component. For your LoginBox
component, you want a layout that includes username and password text boxes, and a submit
button.
1. Make sure the LoginBox component is open in Design mode.
2. Select the Panel and set the following properties in the Flex Properties view:
Title: Member Login
Width: 275
Height: 150
3. Insert two Label controls in the panel and align them vertically.
4. Insert two TextInput controls to the right of the Label controls and align them vertically.
5. Select the first Label control and enter Username as the value of its text property.
NOTE
The Components view only lists visible custom components (components that inherit
from UIComponent). For more information, see the Adobe Flex 2 Language Reference.
Seitenansicht 178
1 2 ... 174 175 176 177 178 179 180 181 182 183 184 ... 255 256

Kommentare zu diesen Handbüchern

Keine Kommentare