23.11.2012 Views

2 Visual Components Manuals

2 Visual Components Manuals

2 Visual Components Manuals

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Introduction to <strong>Visual</strong> <strong>Components</strong> 2.3<br />

Once the dialog box looks like the one shown here, confirm your input with OK. Adjust the position of the input<br />

field in the editor so that it is centered directly below the bitmap object.<br />

Since you have a dynamic bitmap object and an output field which contains the current index, you now need to<br />

insert two touch buttons (one to the right of the bitmap, and one to the left) so that the index can actually be<br />

changed.<br />

Touch buttons are handled the same way as HotSpots except for their visual appearance. Therefore, if<br />

something is unclear to you in the following paragraphs, read over Step 8 again.<br />

Touch buttons are inserted by selecting 'Touch Button' from the menu after clicking on the 'Touch Key' icon in<br />

the toolbar. Now draw a button (just like with a HotSpot) to the left of the bitmap object. Choose the size in such<br />

a way that the key can later be operated easily on the touch screen.<br />

Open the 'Object Properties' dialog box for the button and switch to the Appearance tab. You are able to set the<br />

visual appearance of the button here.<br />

The font and border width should not be changed in this example. The button label must naturally be adjusted.<br />

To do so, select the entry 'TG2' from the Text Group combo box in the Released Button area. All texts from text<br />

group 'TG2' are now contained in the Text combo box. Select 'Down'.<br />

Do the same thing for the Pressed Button area.<br />

4.2.2.9 IPC − Step 9: Page 1 (INIT_PIC) − Inserting a Dynamic Bitmap 255

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!