Chtmlcontrol is a custom control on the open-source Symbian platform. It is a lightweight html/CSS parsing and rendering control that can easily support complex interface effects and display web content.
The Application of 5-edition touch screen mobile phones is studied here.
HtmlcontrolIn addition to the usual click and drag operations, it also supports two Special sliding operations.
= 1. Slide left and right =
The thtmlctlevent: eslideleft or thtmlctlevent: eslideright event is triggered when the finger (or pen, the same below) Slides horizontally from left to right or horizontally to left.
UserYou can respond to these two events for processing, such as page turning.
= 2. Slide up and down =
In the area with a scroll bar, we need to drag the slider of the scroll bar to slide up and down by default. When the page is longer, the slider is longerTimeThe drag may make the user feel tired.
HtmlcontrolYou can drag the content area directly.SetOne parameter:
Set in HTML:
<Div style = 'overflow: scroll' scroll-on-slide = 'true'> </div>
OrDynamicSettings:
// E is the DIV element pointer with a scroll bar.
E-> setproperty (khstrscrolonslide, etrue );
Slide operation