sx_IndexFlip

<< Click to Display Table of Contents >>

Navigation:  Apollo API Listing >

sx_IndexFlip

VB Declaration

Declare Function sx_IndexFlip Lib "Apollo9.dll" () As Integer

C Declaration

BOOL FAR PASCAL sx_IndexFlip (VOID);

Description

Dynamically toggles the descending flag value of the current IDX, CDX, or NSX tag. A descending index becomes ascending, and vice versa.

Return Value

The previous value of the descending index flag (True or False).

VB Example

Sub FlipIndex_Click ()

If sx_IndexFlip Then

MsgBox "Index view is flipped"

Else

MsgBox "Index view is normal"

End If

End Sub

C Example

if (sx_IndexFlip)

AfxMessageBox((LPCSTR) "Index view is flipped.");

else

AfxMessageBox((LPCSTR) "Index view is normal.");

See Also

sx_Index, sx_IndexTag