Jump to content

phil11

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by phil11

  1. Hi Andy, thanks, .. hope you or somebody else find some fix
  2. Thanks for link ResNullius, i don't know if you got same error ? : hope we'll find some way ... thank you
  3. Hi odklizec, no, i couldn't i asked for more over here Graphic over Gif till now ... no answer only thing i know ... picture stays over graphic .... but at the opposite, ... to "delete" (refresh) graphic, i used black pic if possible, still looking for thanks
  4. thanks for help works great with *2 /2
  5. Hi, is it possible to increment a updown control with *2 ; /2 ? with setting limits For 2 To 64 2 , 4 , 8 , 16 , 32 , 64 or maybe some other control to use ? Thank you
  6. Hi Andybiochem, could you put some code or explain what you mean with "box" .. is this a child window ? or .. ? thank you
  7. $c1=GUICreate("child 1", 355, 256, 81, 66,$WS_POPUPWINDOW) DllCall("user32.dll", "int", "SetParent", "hwnd", WinGetHandle($c1), "hwnd", WinGetHandle($LoDOv)) GUISetBkColor(0x000000) Global $Pic2 = GUICtrlCreatePic(".\images\mypic.jpg", 0, 0, 340, 240, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS)) GuiCtrlSetState(-1,$GUI_DISABLE) GUISetState(@SW_SHOW) $graph = GuiCtrlCreateGraphic(350, 250, 1,1) GUICtrlSetGraphic(-1,$GUI_GR_COLOR, 0xffff00) GUICtrlSetGraphic(-1,$GUI_GR_ELLIPSE, -350,-305,360,360) GUICtrlSetGraphic(-1,$GUI_GR_ELLIPSE, -290,-245,240,240) GUICtrlSetGraphic(-1,$GUI_GR_ELLIPSE, -230,-185,120,120) GUICtrlSetState(-1, $GUI_GR_REFRESH) GUISetState(@SW_SHOW)
  8. Hello, i tried to create some graphics over a picture set as background set the GuiCtrlSetState(-1,$GUI_DISABLE) for the pic so that allows to put some controlls visible on the pic, but the graphics still stay invisible any idea how to do this ? thank you
  9. thanks a lot GUICtrlSetState(Eval("Label" & $i), $GUI_Hide) works great
  10. Hello, to Hide lots of Labels like this : ............ GUICtrlSetState($label19, $GUI_HIDE) GUICtrlSetState($label20, $GUI_HIDE) GUICtrlSetState($label21, $GUI_HIDE) GUICtrlSetState($label22, $GUI_HIDE) GUICtrlSetState($label23, $GUI_HIDE) GUICtrlSetState($label24, $GUI_HIDE) GUICtrlSetState($label25, $GUI_HIDE) etc. , i would like to shorten the code and looking for something like : Func SetMenu() Dim $i Dim $Label ??$i ?? For $i = 1 to 88 GUICtrlSetState($Label ??$i ??, $GUI_HIDE) Next EndFunc thanks for help
  11. thank you, it will be very helpfull
  12. thank you i tried it compiled too, ... doesn't work thanks for help
  13. Hi everybody, happy new year to all of you i just started with Autoit, have some knowleges in vba, and couldn't find some help about my prob. via "search" so i create some buttons and labels with koda and want that wenn i click on Button1 that the Label2 changes its color or get hidden here's a part of the script : CODE$Button1 = GUICtrlCreateButton("", 93, 15, 16, 16, 0) GUICtrlSetBkColor(-1, 0x515251) GUICtrlSetOnEvent(-1, "Button1Click") GUICtrlSetCursor (-1, 3) $Button2 = GUICtrlCreateButton("", 160, 15, 16, 16, $BS_DEFPUSHBUTTON) GUICtrlSetBkColor(-1, 0x515251) GUICtrlSetOnEvent(-1, "Button2Click") GUICtrlSetCursor (-1, 3) $Label1 = GUICtrlCreateLabel("Nav", 83, 54, 33, 24) GUICtrlSetFont(-1, 11, 400, 0, "MS Sans Serif") GUICtrlSetColor(-1, 0x00FF00) GUICtrlSetOnEvent(-1, "Button1Click") $Label2 = GUICtrlCreateLabel("Nav", 83, 54, 33, 24) GUICtrlSetFont(-1, 11, 400, 0, "MS Sans Serif") GUICtrlSetColor(-1, 0x00FF00) GUICtrlSetOnEvent(-1, "Button2Click") #EndRegion ### END Koda GUI section ### Func Button1Click() If "Button1Click" = True Then $Label2 = GUICtrlSetColor(-1, 0x00FFFF) $Label3 = GUICtrlSetState(1, $GUI_HIDE) EndIf EndFunc Thanks for some help Phil
×
×
  • Create New...