I feel bad, second new topic in two days. >.<
I've got a tab control with tab items. I've set the style of the tab control to display the tab items on the bottom of the tab control. Functionally, this works just fine. However, the tab item is display in such a way that it looks "cut off" and like it belongs on top of the control.
The below replication code will show you what I mean. Note: I am using the _GUICtrlTab functions, not the standard functions used in the code below. However, the demonstrated effect is identical.
#include <GUIConstantsEx.au3> #include <TabConstants.au3> #include <WindowsConstants.au3> Opt("GUIOnEventMode", 1) #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 633, 447, 192, 124) GUISetOnEvent($GUI_EVENT_CLOSE, "Form1Close") $Tab1 = GUICtrlCreateTab(56, 56, 289, 225, $TCS_BOTTOM) GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) $TabSheet1 = GUICtrlCreateTabItem("TabSheet1") GUICtrlCreateTabItem("") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 Sleep(100) WEnd Func Form1Close() Exit EndFunc
Does anyone know if it's possible to invert the graphic of the tab item control to make it look like it belongs on bottom? For an example of what I mean, open an Excel file and note the tabs across the bottom. I've scoured the forums and the help file and can't find a way to do it. Any ideas would be very much appreciated!