Categories: S60 | Lang-CN
This page was last modified 06:37, 27 June 2007.
Form UI component要支持皮肤
From Forum Nokia Wiki
- 设备, 软件 版本:
S60 2nd Edition, FP3, Nokia N70, Nokia N90 S60 3rd Edition
- 说明:
在S60第二版,FP3设备上使用CAknForm UI component时,如果程序不支持皮肤,则该控件将无法正确绘制。
- 详细描述:
如果一个运行在S60第二版,FP3设备上的程序,使用了form(CAknForm),那它必须要支持皮肤,否则程序将无法绘制该表单。 我们在程序UI类(从CAknAppUi中继承)的构造函数ConstructL()中通过传递EAknEnableSkin参数来让程序支持皮肤功能。
void CMyAppUi::ConstructL() { BaseConstructL(EAknEnableSkin); ... }
这个form布局的问题在S60第二版FP3模拟器上不会出现。
- 情景重现:
比较一下设置及不设置EAknEnableSkin情况下我们使用CAknForm的情况。 这个我们可以通过使用CAknForm类的SDK示例程序(如Form, Popupfield example)来具体。
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 请教下 关于form | sol0neu | Symbian | 15 | 2008-01-24 06:50 |
| Maximum count of character in J2ME | kamranaz2004 | Mobile Java General | 6 | 2005-09-23 06:23 |
| customItem's position within the form | fabito | Mobile Java General | 2 | 2005-12-23 17:49 |
| Form save_hook | spaceman76 | Python | 1 | 2006-03-10 09:33 |
| ComboBox in my FORM | donDonald | Symbian User Interface | 1 | 2006-11-06 03:27 |
