Jump to content

Side button to open another part of app?


gigilihooie
 Share

Recommended Posts

Is it possable to do this?

Have a window with a button the side.

Posted Image

When you press the button, a side box comes out.

Posted Image

Would that be possable to do?

I have one that is set up to slide up vertically when you mouse over it, I am sure it could be tweaked to do that instead, though it will take some doing... I'll PM it to you?

Christianity: In the beginning, there was God, who always was there and created everything.Atheism: In the beginning, there was nothing, which exploded. Both sides look bad...

Link to comment
Share on other sites

Hi gigilihooie,

Drag an drop your script in the fourth tab of this tool : GCS Search

I have tried. It's allright except the third script (Array variable has incorrect number...). :)

Edited by Jikoo
My projects : GCS Search 1.07 (GUI Control Styles Search)* Multilingual tool to help about the old scripts, with a dynamic menu.* Easy way to find missing Include files in old scripts downloaded from forums !* Famous Monoceres script added and improved (visual, drag and drop, automatic)* There is an interactive color converter with palettes too, for fun !The best way to start Autoit3 development (for newbies).
Link to comment
Share on other sites

Ah thanks mate, works great. Going to keep this little app of yours. :)

Thank you very much gigilihooie ! :)

My projects : GCS Search 1.07 (GUI Control Styles Search)* Multilingual tool to help about the old scripts, with a dynamic menu.* Easy way to find missing Include files in old scripts downloaded from forums !* Famous Monoceres script added and improved (visual, drag and drop, automatic)* There is an interactive color converter with palettes too, for fun !The best way to start Autoit3 development (for newbies).
Link to comment
Share on other sites

What problem ? My tool or your downloaded script ? :)

I think it's the last one. Use the help file to start. It's better than explain the complete script you have got ! :)

Edited by Jikoo
My projects : GCS Search 1.07 (GUI Control Styles Search)* Multilingual tool to help about the old scripts, with a dynamic menu.* Easy way to find missing Include files in old scripts downloaded from forums !* Famous Monoceres script added and improved (visual, drag and drop, automatic)* There is an interactive color converter with palettes too, for fun !The best way to start Autoit3 development (for newbies).
Link to comment
Share on other sites

If you like to see long scripts. See mine : more than 2000 lines !!! :):)

My projects : GCS Search 1.07 (GUI Control Styles Search)* Multilingual tool to help about the old scripts, with a dynamic menu.* Easy way to find missing Include files in old scripts downloaded from forums !* Famous Monoceres script added and improved (visual, drag and drop, automatic)* There is an interactive color converter with palettes too, for fun !The best way to start Autoit3 development (for newbies).
Link to comment
Share on other sites

He he, mine is 1600 so far. And this wont work for what I want. To bad. :)

Made up something that will work though.

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <EditConstants.au3>
Opt("TrayIconHide", 1)
Opt("GUIResizeMode", $GUI_DOCKALL)


Move()
Func Move()
    $Form = GUICreate("", 131, 220, 619, 451)

    GUISetState()
    
    
    $go = GUICtrlCreateButton(">", 50, 194, 75, 17, 0)
    $go1 = GUICtrlCreateButton("<", 137, 194, 75, 17, 0)
    GUICtrlCreateLabel("", 131, 0, 1, 220)
    GUICtrlSetBkColor(-1, 0x666666)
    
    
    $expanded = False
    $expanded1 = True

    While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
            Case $GUI_EVENT_CLOSE
                Exit
                
                
            Case $go
                If Not $expanded Then
                WinMove($Form, "", 619, 451, 262, 246)
            EndIf
            
            Case $go1
                If $expanded1 Then
                WinMove($Form, "", 619, 451, 137, 246)
            EndIf
        EndSwitch
    WEnd
EndFunc

Just made this up. Is there something like this instead of what Valuater posted?

When I use this though, my buttons go all wonky.

Edited by gigilihooie
Link to comment
Share on other sites

all you need to change is

$go = GUICtrlCreateButton(">", 50, 194, 75, 17, 0,$GUI_DOCKALL)
    $go1 = GUICtrlCreateButton("<", 137, 194, 75, 17, 0,$GUI_DOCKALL)
    GUICtrlCreateLabel("", 131, 0, 1, 220,$GUI_DOCKALL)
Link to comment
Share on other sites

See your code I changed :

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <EditConstants.au3>
Opt("TrayIconHide", 1)
Opt("GUIResizeMode", $GUI_DOCKALL)


Move()
Func Move()
    $Form = GUICreate("", 131, 220, -1, -1)

    GUISetState()

    $go = GUICtrlCreateButton(">", 50, 194, 75, 17, 0, $GUI_DOCKALL)
    $go1 = GUICtrlCreateButton("<", 137, 194, 75, 17, 0, $GUI_DOCKALL)
    GUICtrlCreateLabel("", 131, 0, 1, 220, $GUI_DOCKALL)

    $expanded = False
    $expanded1 = True
    
    WinMove($Form, "", Default, Default, 137, 246)

    While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
            Case $GUI_EVENT_CLOSE
                Exit


            Case $go
                If Not $expanded Then
                    WinMove($Form, "", Default, Default, 262, 246)
                EndIf

            Case $go1
                If $expanded1 Then
                    WinMove($Form, "", Default, Default, 137, 246)
                EndIf
        EndSwitch
    WEnd
EndFunc   ;==>MoveoÝ÷ Ø­µêܡ׺Ú"µÍÚ[ÛYH  ÑÕRPÛÛÝ[Ñ^]LÉÝÂÚ[ÛYH ÕÚ[ÝÜÐÛÛÝ[Ë]LÉÝÂÚ[ÛYH ÑY]ÛÛÝ[Ë]LÉÝÂÜ
    ][ÝÕ^RXÛÛYI][ÝËJBÜ
    ][ÝÑÕRTÚ^S[ÙI][ÝË    ÌÍÑÕRWÑÐÒÐS
BÜ
    ][ÝÓ]ÝXÛUÉ][ÝËJHÌ[ËO]ZHKYXÛBÛØ[ ÌÍÛÙÂÛØ[ ÌÍÑÜHHÕRPÜX]J ][ÝÉ][ÝËLÌKLKLJBÛØ[  ÌÍÙÛÈHÕRPÝÜX]P]Û   ][ÝÉÝÉ][ÝË
LNM
ÍKMË  ÌÍÑÕRWÑÐÒÐS
BÛØ[  ÌÍÙÛÌHHÕRPÝÜX]P]Û  ][ÝÉÉ][ÝËLÍËNM
ÍKMË  ÌÍÑÕRWÑÐÒÐS
BÕRPÝÜX]SX[
    ][ÝÉ][ÝËLÌKK   ÌÍÑÕRWÑÐÒÐS
BÕRTÙ]Ý]J
B^[Y
[ÙJBÚ[HBIÌÍÛÙÈHÕRQÙ]ÙÊ
BTÝÚ]Ú   ÌÍÛÙÂBPØÙH   ÌÍÑÕRWÑUSÐÓÔÑBBBQ^]BPØÙH ÌÍÙÛÂBBY^[Y
YJBBPØÙH  ÌÍÙÛÌBBBY^[Y
[ÙJBBBBQ[ÝÚ]ÚÑ[[È^[Y
    ÌÍÙ^[Y
BRY ÌÍÙ^[YHYH[Ú[[ÝJ    ÌÍÑÜK   ][ÝÉ][ÝËY][Y][
BRY ÌÍÙ^[YH[ÙH[Ú[[ÝJ  ÌÍÑÜK   ][ÝÉ][ÝËY][Y][LÍË
B[[ÈÏOIÝÙ^[Y
Edited by Jikoo
My projects : GCS Search 1.07 (GUI Control Styles Search)* Multilingual tool to help about the old scripts, with a dynamic menu.* Easy way to find missing Include files in old scripts downloaded from forums !* Famous Monoceres script added and improved (visual, drag and drop, automatic)* There is an interactive color converter with palettes too, for fun !The best way to start Autoit3 development (for newbies).
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...