Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. {{tag>category:"ide" category:"presentation server" }} ====== Reordering tabs with the AllowDragReorder property ====== === Published 24 JUN 2021 at 03:19:01PM === The next release of OpenInsight includes a new TABCONTROL property called **ALLOWDRAGREORDER**, which allows you to drag a tab to a new position within the control. It's a simple boolean property, and when set to True tabs may be dragged and reordered with the mouse - an image of the tab is moved with the cursor, and a pair of arrows are displayed to mark the potential insertion point. Here's an example of a tab being dragged in the IDE: [[https://revdevx.files.wordpress.com/2021/06/tabcontrol_allowdragreorder.png|{{19534.6382060185_1.png}}]] ==== Bonus trivia ==== * The tabs may be scrolled while dragging by hovering outside either edge of the control. * This property is not supported for: * MultiLine tab controls * Vertically-aligned tab controls * The LISTBOX control also supports this property for reordering its items - see the "Order Tabs" dialog in the Form Designer for an example, or the list of types in the IDE's "Open Entity" dialog. === Comments === == Original ID: revdevx.com/?p=3420 == third_party_content/revdevx/19534.6382060185.txt Last modified: 2024/01/29 20:23by 127.0.0.1