Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Window.SetRoundCorners
Set round corners for a window.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Window | 15.3 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "Window.SetRoundCorners"; WindowRef; Radius ) More
Parameters
Parameter | Description | Example |
---|---|---|
WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. | 0 |
Radius | The radius to use. | 12.0 |
Result
Returns OK or error.
Description
Set round corners for a window.Great to make round corners for card windows. But you ned to first have the window (or card) appear, before you
Examples
Show card with round rectangle:
New Window [ Style: Card ; Name: "Card" ; Using layout: “Tabelle” ; Height: 400 ; Width: 600 ]
Set Variable [ $r ; Value: MBS("Window.SetRoundCorners"; 0; 12) ]
See also
Release notes
- Version 15.3
- Added Window.SetRoundCorners function for round corners in card windows.
Blog Entries
This function checks for a license.
Created 6th June 2025, last changed 9th June 2025
