教程:示例 UltraLite for MobileVB 应用程序
完成第 1 课:创建项目体系结构的步骤之后,项目中应显示一个窗体。下面的过程使用该窗体创建用户界面。本示例使用标签作为输出,使用文本框和按钮作为输入,这与实际应用程序类似。
向项目中添加控件
向窗体添加下表指定的控件和属性:
| 类型 | 名称 | 标题或文本 |
|---|---|---|
| AFTextBox | txtfname | |
| AFTextBox | txtlname | |
| AFTextBox | txtcity | |
| AFTextBox | txtphone | |
| AFLabel | lblID | |
| AFButton | btnInsert | Insert |
| AFButton | btnUpdate | Update |
| AFButton | btnDelete | Delete |
| AFButton | btnNext | Next |
| AFButton | btnPrevious | Previous |
| AFButton | btnSync | Synchronize |
| AFButton | btnDone | End |
检查应用程序。
选择 [MobileVB] > [Compile and Validate]。
您的窗体看起来应该与下面的图形类似:
SQL Anywhere Studio 9.0.2
版权所有 © 1989–2005 Sybase, Inc. 部分版权所有 © 2001–2005 iAnywhere Solutions, Inc. 保留所有权利。