Custom Query (3922 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (277 - 279 of 3922)

Ticket Resolution Summary Owner Reporter
#1809 No Bug Made an Error in script -> GUICtrlCreateButton $SS_RIGHT Create CheckBox Emiel Wieldraaijer
Description

Hi,

It's not really a bug i guess.. because it's bad coding .. but when i add $SS_Right to a GUICtrlCreateButton it will make a none checkable checkbox from a button control...

#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>

GUICreate("Test", 200, 200)
GUICtrlCreateButton("Test", 10, 20, 100, 20, $SS_RIGHT)
GUISetState()

While 1
	$msg = GUIGetMsg()
	If $msg = $GUI_EVENT_CLOSE Then Exit
WEnd

Best regards,

Emiel Wieldraaijer

#2167 Fixed $WS_EX_LAYOUTRTL and GUICtrlCreateMenu causes bug Jon Emiel Wieldraaijer
Description

When using $WS_EX_LAYOUTRTL in combination with GUICtrlCreateMenu between GUICreate and GUISetState The GUI isn't displayed correct.

When placing GUICtrlCreateMenu at the end of the GUI Creation just before GUISetState the GUI is displayed correct but the menuitems aren't working

Starting with GUICreate followed by GUISetState and placing the rest of the GUI after GUISetState everything works perfect.

But this will mean all examples in the help files must be changed.

Further

I believe there is a bigger problem. I use GUICtrlSetState($TAB, $GUI_SHOW) a lot .. and with version 3.3.8.1 it often occurs other controls of other tabs are displayed on the Tab i show. I can prevent this by placing the GUICtrlSetState($TAB, $GUI_SHOW) as last option in the loop.. In version 3.3.6.1 this problem did not exist.

http://www.autoitscript.com/forum/topic/139094-ws-ex-layoutrtl-bug-or-no-bug/

Thnx

Best regards,

Emiel Wieldraaijer

#2168 No Bug Updown control displayed on wrong TAB Emiel Wieldraaijer
Description

Hi,

The Updown is displayed on the wrong tab at start, when you change the tabs and return back to the first tab the updown is not visible anymore.

This problem was reported before in a previous version and fixed.. as i remember correct before the introduction of the bugtrac

See the attached Picture for the exact problem

This problem can be solved by placing GUISetState() directly after GUICreate.. but this will mean that all GUI examples in the help need to be re-written

Best regards,

Emiel

; *** Start added by AutoIt3Wrapper ***
#include <WindowsConstants.au3>
; *** End added by AutoIt3Wrapper ***
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseUpx=n
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#AutoIt3Wrapper_Add_Constants=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
; *** Start added by AutoIt3Wrapper ***


#include <UpDownConstants.au3>
#include <GUIConstantsEx.au3>


$Parent = GuiCreate ("Test", 400, 400, -1, -1, BitOR($WS_SIZEBOX, $WS_SYSMENU, $WS_MINIMIZEBOX, $WS_MAXIMIZEBOX), $WS_EX_LAYOUTRTL)
$Parent = GuiCreate ("Test", 400, 400);, -1, -1, BitOR($WS_SIZEBOX, $WS_SYSMENU, $WS_MINIMIZEBOX, $WS_MAXIMIZEBOX), $WS_EX_LAYOUTRTL)
`
$filemenu = GUICtrlCreateMenu("&File")
$fileitem = GUICtrlCreateMenuItem("Open", $filemenu)
$Tab = GUICtrlCreateTab(10, 10, 380, 380)
$Tab1 = GUICtrlCreateTabItem("Tab1")
$Restart = GuictrlCreateButton("Restart", 200,100,150,20)
$Tab2 = GUICtrlCreateTabItem("Tab2")

$Port = GUICtrlCreateInput("21", 200, 200, 150, 20)
$PortUPDown = GUICtrlCreateUpdown($Port, BitOR($UDS_NOTHOUSANDS, $UDS_WRAP))

$Tab3 = GUICtrlCreateTabItem("Tab3")
GUISetState()

While 1
	$msg = GUIGetMsg()
	If $msg = $GUI_EVENT_CLOSE Then Exit
	If $msg = $Restart Then Run('"' & @AutoItExe & '"' & ' /AutoIt3ExecuteScript "' & @ScriptFullPath & '" /restart')
	If $msg = $fileitem Then  MsgBox(0, "Test", "Menu test")
WEnd
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.