Home > Language Reference > Classes > ScreenMode

FindNextMode Function

Finds the next supported graphics modes.

Syntax

Public Function FindNextMode() As Boolean

Remarks

The FindNextMode function continues the enumeration of all available graphic modes initiated by the FindFirstMode method. If there is any graphic mode left to list, it attributes its characteristics to the BitDepth and Color properties then returns the value True. Otherwise the values of these property are not modified and the value False is returned.

Refer to the description of the FindFirstMode function for an example that uses this function.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0-
Windows CEWindows CE 3.0-