This is an occasional blog about IET's use of CA Gen for internal development as well as thoughts, tips and techniques on using CA Gen for application development. It is aimed at the CA Gen development professional, so please excuse the jargon and assumed level of knowledge about CA Gen. Reference will also be made to our products to put the development into context, so if you are not familiar with these, please visit the IET web site by clicking on the company logo.

Wednesday, 2 July 2014

Rapide Paginator Control

The next release of Rapide sees the introduction of a new widget - the Paginator control.

The Paginator can be used to control navigation between pages for a grid/row template listbox and also for an entire window or primary dialog box.

For a listbox, you simply specify that the Paginator control is to be used and the Rapide runtime will automatically populate the control with the number of pages and the current page indicator.

For a primary window/dialog box, you can specify the placement of the control and bind it to two numeric views - one that specifies the number of pages and the second the current page.

When the user swipes between pages, an event is called in the procedure step and the designer can decide how to process the page change event, for example by changing the data displayed.

In the example below, the user can swipe between different products, with the Paginator control at the bottom giving them a visual indicator of how many products are available.

Labels

Disclaimer

The views and opinions expressed here represent the personal opinions of the authors and not organizations that they are related to with unless stated explicitly. Tips and techniques described may be 'work in progress' and you should take your own measures to validate that any techniques used are valid and applicable for your own requirements. This blog is not responsible for any comments left apart from our own and off-topic comments may be deleted.