Skip to content

CurrentCard - cWebCardContainer

The object handle of the current top card

Type: Function
Return Data Type: Handle

Syntax

Function CurrentCard Returns Handle

Call Example

Get CurrentCard to HandleVariable

Description

The object handle of the current top card.

Changing the Top Card

The card order in a stack is determined by the object order of child card (cWebCard) objects. Send NextCard and PreviousCard to change the current top card to the next or previous card.

Sending NextCard when the last card is current or PreviousCard when the first card is current has no effect, i.e. NextCard & PreviousCard do not wrap.

Send Show to a card object to make it the current top card. Get CurrentCard to retrieve the object handle of the current top card.