Motorola T720 Developer's Manual page 54

Hide thumbs Also See for T720:
Table of Contents

Advertisement

This statement has the b5 button's top edge offset from the top edge of the preceding
component, not from its bottom. The second argument can supply a pixel value to add to
this offset. Since it's zero for this example, the b5 button's top will be aligned to the top of
the button b4.
Step 5: Run the program and observe the effect of the offset scheme
Issue the Debug command (Project | Debug) to have CodeWarrior's IDE make the
program and start the debugger. Now issue the Run command (Project | Run). The
second round button now appears to the right of the first round button, and aligned with its
top (Figure 23).
Figure 23.
Feel free to experiment with the offset schemes for the buttons in this program.
What this demonstration shows you is how the LWT provides you with a powerful set of UI
classes with which to build a desktop-quality UI for your mobile application. The LWT
components provide visual feedback when actuated, and can be hidden or disabled under
program control. The behavior and capabilities of LWT buttons can be applied to the all of
LWT UI classes that implement interactive components.
54
The second round button, positioned relative to the top and right edge
of the first round button.

Advertisement

Table of Contents
loading

Table of Contents