Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Tile Control Tutorial. Step 3: Add a Simple Functionality to a Tile Item

In this step, you start with the configured and decorated tiles in the TdxTileControl component.

Handling the tile’s OnClick event is the simplest way of adding functionality to it.

To make the OpenDevExpressURL tile open the official DevExpress site in the default system browser, first add the ShellAPI unit to the ‘uses’ clause (or the ShellAPI.hpp header to the MainForm.h file in C++Builder). Then, add the following line to the empty OpenDevExpressURLClick event handler procedure:

ShellExecute(0, 'open', 'http://www.devexpress.com', nil, nil, SW_SHOW);

Then, compile and run the demo application. Clicking the OpenDevExpressURL tile now opens the specified URL by using the default system web browser.

Additionally, you can handle the OnClick or OnActivateDetail event of the LoanCalculator and SystemInformation tiles. However, adding the actual functionality to these tiles is outside the scope of these Tutorial topics.

The next step describes how to add dynamically changing frames to the HouseDetailPage tile from a dataset.

See Also