App Inventor/Use Interface

Материал из Поле цифровой дидактики
Источники
http://ai2.appinventor.mit.edu/reference/components/userinterface.html
http://www.appinventor.org/apps2/IHaveADream/IHaveADream.pdf


Кнопка

Компонент, с которыми пользователь совершает действия.

Свойства кнопок

BackgroundColor

Color for button background.

Enabled

If set, user can tap button to cause action.

FontBold

If set, button text is displayed in bold.

FontItalic

If set, button text is displayed in italics.

FontSize

Point size for button text.

FontTypeface

Font family for button text.

Height

Button height (y-size).

Width

Button width (x-size).

Image

Image to display on button.

Text

Text to display on button.

TextAlignment

Left, center, or right.

TextColor

Color for button text.

События для кнопок

Click()

User tapped and released the button.

GotFocus()

Button became the focused component.

LostFocus()

Button stopped being the focused component.
App buttons.png

App Inventor