Jump to content
Sign in to follow this  
markloman

GUI changes in AutoIt 3.0.103.157 ?

Recommended Posts

Edit: I solved the issue below by placing the buttons below GUICtrlCreateTabitem ( "" ).

I am working on a rather large AutoIt program. I wrote the entire GUI with AutoIt 3.0.103.149. But after I installed AutoIt 3.0.103.157 yesterday the buttons in my GUI are now failing.

Previously the GUI looked like this:

Posted Image

Without changing any code, the GUI now looks like this in AutoIt 3.0.103.157:

Posted Image

As you can see, my buttons are failing. This is the code:

#include "GUIConstants.au3"

Global $WS_CLIPSIBLINGS = 0x4000000
$GUI_Handle = GUICreate ( "Hello", 640, 384 )

$btn_Start = GUICtrlCreateButton ( "Start", 148, 90, 80, 42 )
$btn_Stop = GUICtrlCreateCheckbox ( "Stop", 280, 90, 80, 42, 0x1000 )
$btn_Config = GUICtrlCreateButton ( "Configuratie", 412, 90, 80, 42 )
GUICtrlSetState ( $btn_Stop, $GUI_DISABLE )

$tab_Config = GUICtrlCreateTab ( 16, 178, 608, 190, 0x00400000 + 0x0400 )
    $tab0 = GUICtrlCreateTabitem ( "Profielen" )
        GUIStartGroup ( )
            $radio_Recommended = GUICtrlCreateRadio ( "Aanbevolen instellingen", 40, 243 )
            $radio_ImmunizeOnly = GUICtrlCreateRadio ( "Alleen passieve bescherming installeren", 40, 266 )
            $radio_UserDefined = GUICtrlCreateRadio ( "Aangepaste instellingen", 40, 289 )
            GUICtrlSetState ( $radio_UserDefined, $GUI_DISABLE )
    GUICtrlCreateTabitem ( "" )

$Background = GUICtrlCreatePic ( "background.jpg", 0, 0, 640, 384, $WS_CLIPSIBLINGS )
            
GuiSetState ( @SW_SHOW )

While 1
    $GUIMsg = GUIGetMsg ( )
    If $GUIMsg = $GUI_EVENT_CLOSE Then ExitLoop
Wend

Exit 0

I hope someone can help.

Edit: I solved it by placing the buttons below GUICtrlCreateTabitem ( "" ).

Edited by markloman

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...