Description: Demonstrates the use of components in SMS Programmer: Unknown Compiler: Smart Mobile Studio 2.2
Introduction
The idea is develop a little greeting application using Smart Mobile Studio. This application is based on an old Android app.This exercise you must first have version 2.2 of Smart Mobile Studio installed on your PC.
Screenshot of the app running in the Gingerbread emulator
The steps to develop a little greeting application are as follows:
Select menu item File > New > New project... then
double click on Visual Components Project.
Add these five components arranged vertically in the order TW3Label, TW3Button, TW3Label, TW3EditBox and TW3Label.
To add a component, click on its icon then click in the form.
Use the Property inspector to change the names to lblTitle, btnClear, lblForename, edtName and lblOutput.
Change the caption properties of the labels to (1) Using button, labels and edit box, (2) First name and (3) a single space
Increase the width of the top label to 350.
Change the Caption property of the button to Clear and clear the text from the Text property of the EditBox.
Double click on the button and enter this code into the btnClearClick procedure:
lblOutput.Caption := '';
edtName.Text := '';
In the Property inspector, double click in the edit box of the OnChanged event of edtName and enter this code into the edtNameChanged procedure: