Jump to content
Sign in to follow this  
Fossil Rock

Problem with tabsheets

Recommended Posts

Fossil Rock

I'm having trouble with tabsheets on tabsheets. In Koda it performs correctly but not in AutoIt.

Correct TabSheet1

Posted Image

Correct TabSheet2

Posted Image

Not Correct... at all in AutoIt.

Posted Image

Any ideas?

#include <GUIConstants.au3>
; == GUI generated with Koda ==
$Form2 = GUICreate("AForm2", 622, 441, 233, 127)
$Tab1 = GUICtrlCreateTab(32, 24, 561, 393)
$TabSheet1 = GUICtrlCreateTabItem("TabSheet1")
$Tab2 = GUICtrlCreateTab(40, 56, 545, 353)
$TabSheet1 = GUICtrlCreateTabItem("TabSheetA")
$TabSheet2 = GUICtrlCreateTabItem("TabSheetB")
$TabSheet3 = GUICtrlCreateTabItem("TabSheetC")
$TabSheet4 = GUICtrlCreateTabItem("TabSheetD")
GUICtrlCreateTabItem("")
$TabSheet2 = GUICtrlCreateTabItem("TabSheet2")
$TabSheet3 = GUICtrlCreateTabItem("TabSheet3")
$TabSheet4 = GUICtrlCreateTabItem("TabSheet4")
$TabSheet5 = GUICtrlCreateTabItem("TabSheet5")
GUICtrlCreateTabItem("")
GUISetState(@SW_SHOW)
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
    ;;;;;;;
    EndSelect
WEnd
Exit

Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites
jpm

AutoIt support only one tab by GUI so Koda should restrict by some way. :P

Share this post


Link to post
Share on other sites
Fossil Rock

AutoIt support only one tab by GUI so Koda should restrict by some way. :P

Or maybe AutoIt should support tabsheets on tabsheets.... hummm

Edited by Fossil Rock

Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites
LondonNDIB

Hi. I can't figure out how to get tabs to work at all in Koda! I can do it in AutoIt scripting, but I wanted to speed things up with Koda but there just seems to be no way to get GUICtrlCreateTabItem!

I'm obviously missing something, but I just don't see it.

Thanks.

Share this post


Link to post
Share on other sites
lookfar

Hi. I can't figure out how to get tabs to work at all in Koda! I can do it in AutoIt scripting, but I wanted to speed things up with Koda but there just seems to be no way to get GUICtrlCreateTabItem!

I'm obviously missing something, but I just don't see it.

Thanks.

Drop a Tabbed Panel (TabControl) on your form, right click on TabControl and a new context menu is visible, "New Page" click that and it will create a new tabsheet. Note that the context menu item is only visible when right click on actual TabControl, It will not show up with right click on form or in fact on a TabSheet itself so move your cursor back to the TabControl after creating a new TabSheet to create another one.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.