Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Autoit-gui 101.18 Available


  • Please log in to reply
104 replies to this topic

#21 CyberSlug

CyberSlug

    Overwhelmed with work....

  • MVPs
  • 3,587 posts

Posted 19 April 2004 - 09:14 PM

@jpm: where?  :D there's still the 'old' version...

Hmm... Until jpm re-uploads, Get autoit3-gui.102.18a.exe here.

Edited by CyberSlug, 19 April 2004 - 09:14 PM.

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!







#22 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 9,550 posts

Posted 19 April 2004 - 09:46 PM

@jpm: where?  :D there's still the 'old' version...

Sorry,
I did something wrong now you get a .zip with the .exe and the .bin :huh2:

#23 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 9,550 posts

Posted 19 April 2004 - 09:54 PM

The main reason I care about the combo box is because your change-log says it is "fixed."  Remove the change-log entry and I'll be happy :D

I posted screen shots here.  Tested with AutoGUI 102.18A on Windows XP Pro sp1 (but using windows 2000 theme)

Do I understand, you get the same size when maximizing.
When I click the maximize button I get a full screen image with the XP theme not a small one as yours.
I put 2 .png files in the AutoIt-gui download area showing what I get :huh2:

#24 Lazycat

Lazycat

    Coding cat

  • MVPs
  • 1,174 posts

Posted 19 April 2004 - 10:27 PM

Thank you jpm, now it works as expected! I'll continue testing.

BTW confirm bug with combo on same system (WinXP Pro with "classic" theme). More clear, bug appear when you maximize window and then restore this (with buttons or by double-clicking title).
Koda homepage (http://www.autoitscript.com/fileman/users/lookfar/formdesign.html) (Bug Tracker)My Autoit script page (http://www.autoitscript.com/fileman/users/Lazycat/)

#25 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 9,550 posts

Posted 19 April 2004 - 10:42 PM

Thank you jpm, now it works as expected! I'll continue testing.

BTW confirm bug with combo on same system (WinXP Pro with "classic" theme). More clear, bug appear when you maximize window and then restore this (with buttons or by double-clicking title).

What is the bug?
I test I cannot have the image as shown by CyberSlug.
You can see that my maximize is much bigger than the one of CyberSlug
can you email me your before after image
Thanks :D

#26 CyberSlug

CyberSlug

    Overwhelmed with work....

  • MVPs
  • 3,587 posts

Posted 19 April 2004 - 11:07 PM

Sorry if the image was misleading.

The problem is not the window size; the problem is the combo control not re-painting properly.

In fact, gui 102.18A seems to more problems with repaint than 102.17

I'll post some low-res screenshots showing AutoPad problems:

look at bugInfo.html
Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

#27 Josbe

Josbe

    Infrequent ghost ☺

  • Active Members
  • PipPipPipPipPipPip
  • 1,585 posts

Posted 20 April 2004 - 01:35 AM

@jpm: Thxs for the update! AutoIT3-GUI grows!! :) :D

Only that, I discover two mistakes (please, try the code):
- The last item dissapears if I don't add another "tabitem"
- The background not refresh correctly. In this case, I found a way to refresh, displaying a fast SplashText over the Form, but the simple way to refresh would be with the "BLUE" option. :huh2:


See the code (modified from the TAB example):
Plain Text         
AutoItSetOption("TrayIconDebug", 1) ; -------------------------------------------------------------- Opt("GuiNotifyMode",1) GUICreate("My GUI TAB", 220, 160) GuiCreateEx("",0x00E0FFFF) GUIDefaultFont(9, 300) $button1=GUISetControl("tab", "tab", 10,10, 200,100) ; TAB 0 $tab0=GUISetControl("tabitem", "tab#0",0,0) ; TAB 1 $tab1=GUISetControl("tabitem", "tab#1",0,0) GuiSetControlEx($tab1, 16) $lab1= GuiSetControl("Label"," Set me a color ", 92, 51, 90, 20) $combo=GUISetControl("combo","", 20, 50, 70, 80) GuiSetControlData(-1,"Red|*Blue|Green") $input1=GUISetControl("input","default", 20, 120,70,20) ;; In this case, I need only 2 tabs, but I have to put another TABITEM for show my last item ($input1 in this case). $tab2= GUISetControl("tabitem", "", 0, 0) While GuiMsg()    If GUIRead($combo) then       $col= GUIRead($combo)       $_posw = WinGetPos("My GUI TAB")       Select          case $col= "Red"             GUISetControlEX($lab1, -1, 0, "",0x00, 0xff)             GUICreateEx(-1, 0xff)            ; I use a Splash function for refresh the window.             splashtexton(0, "", 220, 160, $_posw[0], $_posw[1])             splashoff()          case $col= "Blue"             GUISetControlEX($lab1, -1, 0, "",0x00, 0xff0000)             GUICreateEx(-1, 0xff0000)          case $col= "Green"             GUISetControlEX($lab1, -1, 0, "",0x00,0xff00)             GUICreateEx(-1, 0xff00)             splashtexton(0, "", 220, 160, $_posw[0], $_posw[1])             splashoff()          EndSelect    EndIf Wend


#28 Josbe

Josbe

    Infrequent ghost ☺

  • Active Members
  • PipPipPipPipPipPip
  • 1,585 posts

Posted 20 April 2004 - 03:36 AM

not updated in v102.18? :D
(the background color in the checkboxes/labels when exists a TAB control)

taked and modified from a example:
Plain Text         
AutoItSetOption("TrayIconDebug", 1) FileChangeDir(@Scriptdir) #include "Gui_include.au3" ; ---------------------------------------------------------------------------- ; Script Start ; ---------------------------------------------------------------------------- ;Test script to try and get a list box information updated ;by clicking on a button Opt("GuiNotifyMode",1) GUICreate("My GUI TAB"); will create a dialog box that when displayed is centered GuiCreateEx("",0x00E0FFFF) $button1=GUISetControl("tab", "tab", 10,10, 200,100) ;GUISetControlEx(-1,-1,0,"",-1,0xff) $tab0=GUISetControl("tabitem", "tab0",0,0) GuiSetControl("checkbox","checkbox", 20,150,90,20) GuiSetControl("label","label", 20,130,90,20) While GuiMsg()  msgbox(0,"Click #",GuiRead(),2) Wend


#29 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 9,550 posts

Posted 20 April 2004 - 06:41 AM

not updated in v102.18?  :huh2:
(the background color in the checkboxes/labels when exists a TAB control)

taked and modified from a example:

Plain Text         
AutoItSetOption("TrayIconDebug", 1) FileChangeDir(@Scriptdir) #include "Gui_include.au3" ; ---------------------------------------------------------------------------- ; Script Start ; ---------------------------------------------------------------------------- ;Test script to try and get a list box information updated ;by clicking on a button Opt("GuiNotifyMode",1) GUICreate("My GUI TAB"); will create a dialog box that when displayed is centered GuiCreateEx("",0x00E0FFFF) $button1=GUISetControl("tab", "tab", 10,10, 200,100) ;GUISetControlEx(-1,-1,0,"",-1,0xff) $tab0=GUISetControl("tabitem", "tab0",0,0) GuiSetControl("checkbox","checkbox", 20,150,90,20) GuiSetControl("label","label", 20,130,90,20) While GuiMsg()  msgbox(0,"Click #",GuiRead(),2) Wend

Easy one,
The label and checkbox are part of the tabitem definition so they get by default the tab bakground color.
In fact the positioning is not relative to the tab control. It is the user reponsability to put it on the control tab :D

#30 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 9,550 posts

Posted 20 April 2004 - 07:04 AM

@jpm: Thxs for the update!  AutoIT3-GUI grows!! :lol:  :huh2:

Only that, I discover two mistakes (please, try the code):
- The last item dissapears if I don't add another "tabitem"
- The background not refresh correctly. In this case, I found a way to refresh, displaying a fast SplashText over the Form, but  the simple way to refresh would be with the "BLUE" option. :)


See the code (modified from the TAB example):

Plain Text         
AutoItSetOption("TrayIconDebug", 1) ; -------------------------------------------------------------- Opt("GuiNotifyMode",1) GUICreate("My GUI TAB", 220, 160) GuiCreateEx("",0x00E0FFFF) GUIDefaultFont(9, 300) $button1=GUISetControl("tab", "tab", 10,10, 200,100) ; TAB 0 $tab0=GUISetControl("tabitem", "tab#0",0,0) ; TAB 1 $tab1=GUISetControl("tabitem", "tab#1",0,0) GuiSetControlEx($tab1, 16) $lab1= GuiSetControl("Label"," Set me a color ", 92, 51, 90, 20) $combo=GUISetControl("combo","", 20, 50, 70, 80) GuiSetControlData(-1,"Red|*Blue|Green") $input1=GUISetControl("input","default", 20, 120,70,20) ;; In this case, I need only 2 tabs, but I have to put another TABITEM for show my last item ($input1 in this case). $tab2= GUISetControl("tabitem", "", 0, 0) While GuiMsg()    If GUIRead($combo) then       $col= GUIRead($combo)       $_posw = WinGetPos("My GUI TAB")       Select          case $col= "Red"             GUISetControlEX($lab1, -1, 0, "",0x00, 0xff)             GUICreateEx(-1, 0xff)           ; I use a Splash function for refresh the window.             splashtexton(0, "", 220, 160, $_posw[0], $_posw[1])             splashoff()          case $col= "Blue"             GUISetControlEX($lab1, -1, 0, "",0x00, 0xff0000)             GUICreateEx(-1, 0xff0000)          case $col= "Green"             GUISetControlEX($lab1, -1, 0, "",0x00,0xff00)             GUICreateEx(-1, 0xff00)             splashtexton(0, "", 220, 160, $_posw[0], $_posw[1])             splashoff()          EndSelect    EndIf Wend

You kill me :)
I never thought that GuiCreateEx can be use dynamically. In fact it seems the last one. THe defaultfont will not update previous created control but that will work for new ones.
The doc never describe such think but why not.
Stay tune :D

#31 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 9,550 posts

Posted 20 April 2004 - 07:28 AM

@josbe
you will get an almost perfect work with 102.18B and your updated script.
The extra tabitem was a bug.

I need somebody help me to find a simple way of painting the upper right corner not as the tab background but as the window background.
The standard way of window to redraw the whole part of the tab is too much code.

Plain Text         
autoItSetOption("TrayIconDebug", 1) ; -------------------------------------------------------------- Opt("GuiNotifyMode",1) GUICreate("My GUI TAB", 220, 160) GuiCreateEx("",0x00E0FFFF) GUIDefaultFont(9, 300) $button1=GUISetControl("tab", "tab", 10,10, 200,100) ; TAB 0 $tab0=GUISetControl("tabitem", "tab#0",0,0) ; TAB 1 $tab1=GUISetControl("tabitem", "tab#1",0,0) GuiSetControlEx($tab1, 16) $lab1= GuiSetControl("Label"," Set me a color ", 92, 51, 90, 20) $combo=GUISetControl("combo","", 20, 50, 70, 80) GuiSetControlData(-1,"Red|Blue|Green") $input1=GUISetControl("input","default", 20, 80,70,20) While GuiMsg()   If GUIRead($combo) then      $col= GUIRead($combo)      $_posw = WinGetPos("My GUI TAB")      Select         case $col= "Red"            GUISetControlEX($lab1, -1, 0, "",0x00, 0xff)            GUICreateEx(-1, 0xff)         case $col= "Blue"            GUISetControlEX($lab1, -1, 0, "",0x00, 0xff0000)            GUICreateEx(-1, 0xff0000)         case $col= "Green"            GUISetControlEX($lab1, -1, 0, "",0x00,0xff00)            GUICreateEx(-1, 0xff00)         EndSelect   EndIf Wend


#32 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 9,550 posts

Posted 20 April 2004 - 08:34 AM

Sorry if the image was misleading.

The problem is not the window size; the problem is the combo control not re-painting properly.

In fact, gui 102.18A seems to more problems with repaint than 102.17

I'll post some low-res screenshots showing AutoPad problems:

look at bugInfo.html

Have a look at 102.18B I think I solve all issues !!! :D

#33 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 9,550 posts

Posted 20 April 2004 - 08:26 PM

I upload 102.18C fixing all known problems.
At least the one I know. :huh2:
Last one was the one of Condoman on GuiRead() after GuiWaitClose()
Good testing :D

#34 CyberSlug

CyberSlug

    Overwhelmed with work....

  • MVPs
  • 3,587 posts

Posted 20 April 2004 - 08:38 PM

I hate to say it, but my combo-box in AutoPad still highlights when I resize the AutoPad window.... Maybe my AutoPad code is bad?

Otherwise, 102.18C is very good!!!

P.S. I tried 102.18B and all other versions. I have not changed AutoPad yet...

Edited by CyberSlug, 20 April 2004 - 08:39 PM.

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

#35 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 9,550 posts

Posted 20 April 2004 - 09:57 PM

I hate to say it, but my combo-box in AutoPad still highlights when I resize the AutoPad window.... Maybe my AutoPad code is bad?

Otherwise, 102.18C is very good!!!

P.S.  I tried 102.18B and all other versions.  I have not changed AutoPad yet...

I know but it looks like a MS something.
The focus stay on the control it is supposed to be but the combo hightlight.
Is it acceptable to stay in the current state? :D

#36 jgshier

jgshier

    Seeker

  • New Members
  • 7 posts

Posted 20 April 2004 - 10:42 PM

This maybe a dumb question, but how do you compile it to make an exe?

#37 CyberSlug

CyberSlug

    Overwhelmed with work....

  • MVPs
  • 3,587 posts

Posted 20 April 2004 - 11:21 PM

...
The focus stay on the control it is supposed to be but the combo hightlight.
Is it acceptable to stay in the current state? :huh2:

That's fine--I can accept the behavior :D You have spent enough time on this!
And I think I can script a workaround...
Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

#38 Josbe

Josbe

    Infrequent ghost ☺

  • Active Members
  • PipPipPipPipPipPip
  • 1,585 posts

Posted 21 April 2004 - 03:25 AM

@jpm: Thxs for the replies. :)
(Sorry for the constant questions.)

It's the way to improve... :D :huh2:

#39 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 9,550 posts

Posted 21 April 2004 - 06:21 AM

That's fine--I can accept the behavior :huh2:  You have spent enough time on this!
And I think I can script a workaround...

Thanks for the quietus.
I notice that if you don't use the GuiNotifyMode=1 and set the notification on the specific control it could be better.
:D

#40 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 9,550 posts

Posted 21 April 2004 - 06:32 AM

@jpm: Thxs for the replies.  :)
(Sorry for the constant questions.)

It's the way to improve...  :) :lol:

:D You have not to fill sorry. Your are doing your betatester/improver job
I like your work and the way you make AutoIt-GUI improving :huh2:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users