ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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
Warning
From version 27, PaneShift is kept for backward compatibility. This property is replaced by TabOffset.
The TabOffset property is used to get and change the offset between the border of a Tab or Ribbon control and the tab buttons.
For example, this property can be used to leave an empty area on the left of the ribbon or tab buttons, to insert other controls.
Example
// Keep space on the left to display BTN_Personal
RIBBON_MyApp.TabOffset = BTN_Personal.Width
BTN_Personal.Visible = True
Syntax

Getting the offset between the control border and the tab button Hide the details

<Result> = <Control used>.TabOffset
<Result>: Integer
Current offset expressed in pixels. The minimum value is 0.
<Control used>: Control name
Name of Tab or Ribbon control to use.

Changing the offset between the control border and the tab button Hide the details

<Control used>.TabOffset = <New value>
<Control used>: Control name
Name of Tab or Ribbon control to use.
<New value>: Integer
New offset expressed in pixels. The minimum value is 0.
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help