Platform property (WinStudio scripts)

Applies To

IWSApplication interface

Definition

Returns a string to indicate the platorm where the form is executing. If the form is executing in WinStudio, it returns "WIN". If the form is executing via Web rendering, it returns "WEB".

Syntax

Application.Platform

Example

 If ( Application.Platform = "WEB" ) then
    ThisForm.Components("winonlybutton").Enabled = false
  End if
相关主题