Skip to main content

Past Blast

Featured Products

Windows Mobile Developer Controls
Windows Mobile Developer Controls
Stay in touch using the DEVBUSS RSS feeds.
 

News

Windows Mobile Developer Controls
Sapphire Soltuions

RESCO's new powerful Grid and ListView controls

Written by Radomir Vozar  [author's bio]  [read 42402 times]
Edited by Derek

Page 1  Page 2 

An advanced ListView Control

Yet another popular control frequently used by Pocket PC developers is the ListView. The lack of several important properties and events forces developers to use API calls to obtain the required functionality. Examples of this are the limited ways mouse events can trigger popup menu functionality.

To simplify the work the Resco ListView Control provides native support of events such as Click, DblClick, MouseDown, MouseMove, MouseUp, HScroll and VScroll.

Private Sub RListView_MouseDown(ByVal Shift As Integer, _
                ByVal x As Single, ByVal y As Single)
    pPopupStart x, y
End Sub

Private Sub RListView_MouseMove(ByVal Shift As Integer, _
                ByVal x As Single, ByVal y As Single)
    pPopupMove x, y
End Sub

Private Sub RListView_MouseUp(ByVal Shift As Integer, _
                ByVal x As Single, ByVal y As Single)
    pPopupEnd
End Sub

It also provides several additional properties like GridLines, FullRowSelect and CheckBoxes, which can be set directly in the design mode so that no API calls are needed. Moreover the gridlines are not offset and the developer can achieve a behavior similar to a Grid control by setting the FullRowSelect and MultiSelect properties to FALSE.

Resco Grid Control

In conclusion

eVBs job should be to allow developers to quickly develop Pocket PC applications without knowledge of low-level API programming.

If an eVB developer requires advanced objects and functionality, an appropriate ActiveX control should be used. The control should provides all the necessary properties, methods and events, and be easily configured in the design mode with minimum code setup required. Both the Resco Grid and Listview controls meet these criteria.

Every application requires a different solution but one of the easiest ways to develop an eVB application requiring tabular data display would be to try one of the above controls. Download the free demo's and check them out.

Click here to download Resco Grid Control.
Click here to download Resco ListView Control.

Previous Page