ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV and WINDEV Mobile 2024 feature!
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The FlexWrap property determines whether items are laid out in one line, or can wrap onto multiple lines (corresponding CSS property: "flex-wrap").
Example
// Flexbox control characteristics
FLEX_MyFlexbox.FlexDirection = fbdColumn
FLEX_MyFlexbox.FlexWrap = fbwWrap
FLEX_MyFlexbox.FlexJustifyContent = fbjcCenter
FLEX_MyFlexbox.FlexAlignContent = fbacEnd
FLEX_MyFlexbox.FlexAlignItems = fbaiCenter
FLEX_MyFlexbox.FlexColumnGap = 5
FLEX_MyFlexbox.FlexRowGap = 50
Syntax

Getting the line wrap mode of a Flexbox control Hide the details

<Result> = <Control used>.FlexWrap
<Result>: Integer constant
Direction in which items will be laid out in the Flexbox control:
fbwNoWrapItems are laid out in a single line. The Flexbox control stretches horizontally or vertically, or a scrollbar is displayed.
fbwWrapItems that do not fit in the line are positioned on the next line.
fbwWrapReverseItems that do not fit in the line are positioned on the next line going up or left.
<Control used>: Control name
Name of the Flexbox control used.

Setting the line wrap mode of a Flexbox control Hide the details

<Control used>.FlexWrap = <New characteristics>
<Control used>: Control name
Name of the Flexbox control used.
<New characteristics>: Integer constant
Direction in which items should be laid out in the Flexbox control:
fbwNoWrapItems are laid out in a single line. The Flexbox control stretches horizontally or vertically, or a scrollbar is displayed.
fbwWrapItems that do not fit in the line are positioned on the next line.
fbwWrapReverseItems that do not fit in the line are positioned on the next line going up or left.
Minimum version required
  • Version 2024
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/02/2024

Send a report | Local help