Toolbar Component
Fnd_Tlbr_Platform
Fnd_Tlbr_Platform ({platform name}) -> Text
Parameters
| Parameter | Type | Description |
|---|---|---|
| platform name | Text | “Mac,” “Win” or “Auto” (optional) |
| Function result | Text | Selected platform name |
Description
This routine sets and gets the toolbar platform name for the current process. This affects the general toolbar appearance. The following platform names can be used: Platform Name Auto Mac Win
Pass this routine one of the above platform names to set the toolbar appearance:
Fnd_Tlbr_Platform ("Mac")
This can be done in the form’s On Load event, or anytime while the form is displayed. If you call this method after the On Load form event, you will need to follow it with a call to the Fnd_Tlbr_Info command. Passing “Mac” will cause the toolbar to be drawn similar to the toolbar in other Mac OS X applications. Passing “Win” will cause the toolbar to be drawn similarly to toolbars in Windows applications. The actual platform in use is not related to the affect of this command — the “Mac” style can be used on Windows and the “Win” style can be used on the Macintosh. Pass “Auto” to this routine to allow it to automatically select the appropriate setting for the current platform. The actual look of the toolbar will depend not only on the current toolbar platform setting, but also on the current style setting. See the Fnd_Tlbr_Style command for more information. This routine can also be called as a function to get the current toolbar platform setting.
$platform_t:=Fnd_Tlbr_Platform
This routine will return only “Mac” or “Win.” It will not return “Auto.”
Extracted source text
Fnd_Tlbr_Platform ({platform name}) ➔ Text
Parameter Type Description
platform name Text “Mac,” “Win” or “Auto” (optional)
Function result Text Selected platform name
This routine sets and gets the toolbar platform name for the current process. This affects the general
toolbar appearance. The following platform names can be used:
Platform Name
Auto
Mac
Win
Pass this routine one of the above platform names to set the toolbar appearance:
Fnd_Tlbr_Platform ("Mac")
This can be done in the form’s On Load event, or anytime while the form is displayed. If you call this
method after the On Load form event, you will need to follow it with a call to the Fnd_Tlbr_Info
command.
Passing “Mac” will cause the toolbar to be drawn similar to the toolbar in other Mac OS X applications.
Passing “Win” will cause the toolbar to be drawn similarly to toolbars in Windows applications. The actual
platform in use is not related to the affect of this command — the “Mac” style can be used on Windows
and the “Win” style can be used on the Macintosh.
Pass “Auto” to this routine to allow it to automatically select the appropriate setting for the current
platform.
The actual look of the toolbar will depend not only on the current toolbar platform setting, but also on
the current style setting. See the Fnd_Tlbr_Style command for more information.
This routine can also be called as a function to get the current toolbar platform setting.
$platform_t:=Fnd_Tlbr_Platform
This routine will return only “Mac” or “Win.” It will not return “Auto.”