Skip to content
Menu
Menu

Knowledge Base

KB050142 | POP-UP PAGE WITH CLOSE BUTTON

Product: Elvis
Version: 2.5
Booth: 2006-12-14

Summary

A pop-up page (“Picture in Picture”) can be closed using the standard “Close” cross in the title bar. However, this is too small especially for touch operation.

This article shows how to use a StateButton to close.

Details

First, place a StateButton on the page. It is sufficient if it has a state. The desired image or text is then assigned to the states “-” (unknown) and “0”.

Then you add with “Events..” (context menu) enter the code to be executed when clicked:

Sub NameOfTheControl_Click()
 Form.Document.Close
End Sub

Support Area

Knowledge Base

Here you will find answers, solutions to problems and examples of our products.

Case Studies

Successful in use: practical examples of our products and individual developments.

Support

Describe your concern using our support form.

License registration

Register your Elvis license!

IT GmbH · An der Kaufleite 12 · D-90562 Kalchreuth

© Copyright 2026. IT GmbH | Webdesign by Appear Online