Setup Factory 10

Screen.SetStartScreen

Screen.SetStartScreen

This is the first topic This is the last topic  

Screen.SetStartScreen

This is the first topic This is the last topic  

OverviewExamples

Screen.SetStartScreen (

string ScreenName )

Example 1

-- Get the operating system's version info.

tbVersionInfo = System.GetOSVersionInfo();

 

-- Check to make sure the version info was received successfully.

if (tbVersionInfo) then

    -- Check to see if the system is a server system.

   if (tbVersionInfo.ProductType == 3) then

       -- Set the start screen to the Server type block of screens.

       Screen.SetStartScreen("Server Welcome");

   end

end

Checks to see if the target system is a type of server operating system and if so, sets the screens to start at the block designed for servers.

See also: Related Actions


Learn More: Indigo Rose Software - Setup Factory - Buy Now - Contact Us