d0n Posted July 12, 2009 Share Posted July 12, 2009 (edited) The script works only when i take out the createtab, but when i include the createtab, the picture does not show at all any help would be appreciated, thanks $Info = @ScriptDir&"\info.ini" $Form1 = GUICreate("test", 270, 220) ;$Tab = GUICtrlCreateTab(2, 2, 265, 214) $Tab1 = GUICtrlCreateTabItem("Main") $Pic1 = GUICtrlCreatePic("", 152, 35, 108, 100, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS)) GUICtrlSetImage($Pic1,IniRead($Info,"General","Error","Default")) $Tab2 = GUICtrlCreateTabItem("Skills") GUISetState(@SW_SHOW) GUI() Func GUI() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd EndFunc Edited July 12, 2009 by d0n Link to comment Share on other sites More sharing options...
dantay9 Posted July 13, 2009 Share Posted July 13, 2009 You cannot use $WS_CLIPSIBLINGS as a style for the pic. I don't know why. Maybe someone else will come by and tell you why. Link to comment Share on other sites More sharing options...
d0n Posted July 13, 2009 Author Share Posted July 13, 2009 interesting, thanks for the tip Link to comment Share on other sites More sharing options...
martin Posted July 13, 2009 Share Posted July 13, 2009 You cannot use $WS_CLIPSIBLINGS as a style for the pic. I don't know why. Maybe someone else will come by and tell you why.You can have $WS_CLIPSIBLINGS as a style for a pic and it will work, but not on a tab. Maybe that's what you meant. I don't know why though. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now