Jump to content

About themes ...


Recommended Posts

Yes, try it and you will see.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to comment
Share on other sites

I already Tried it and Examples is working , the problem is made by ISN Autoit studio so Gui Creates variable In another file name called "MyGui.isf"
The point is :
I have Gui Created In MyGui.ist and this is code :

; -- Created with ISN Form Studio 2 for ISN AutoIt Studio -- ;
#include <StaticConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Include <GuiButton.au3>
#include <GuiListView.au3>
#include <EditConstants.au3>

$MyGui = GUICreate("QU Job Calculator  Hours",650,471,-1,-1,-1,-1)
$From1 = GUICtrlCreateInput("",71,132,90,27,-1,$WS_EX_CLIENTEDGE)
$To1 = GUICtrlCreateInput("",172,132,90,27,-1,$WS_EX_CLIENTEDGE)
$day1 = GUICtrlCreateButton("Set \ Select Day",110,205,100,30,-1,-1)
GUICtrlSetBkColor(-1,"0x00FF00")
$From2 = GUICtrlCreateInput("",379,132,90,27,-1,$WS_EX_CLIENTEDGE)
$To2 = GUICtrlCreateInput("",480,132,90,27,-1,$WS_EX_CLIENTEDGE)
$To4 = GUICtrlCreateInput("",480,169,90,27,-1,$WS_EX_CLIENTEDGE)
$From4 = GUICtrlCreateInput("",379,169,90,27,-1,$WS_EX_CLIENTEDGE)
GUICtrlCreateLabel("Check My Totall Hours:",0,330,217,33,-1,-1)
GUICtrlSetFont(-1,17,400,0,"MS Sans Serif")
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("From :",80,95,79,27,-1,-1)
GUICtrlSetFont(-1,21,400,0,"MS Sans Serif")
GUICtrlSetBkColor(-1,"-2")
$Resault = GUICtrlCreateInput("",4,363,150,20,-1,$WS_EX_CLIENTEDGE)
$Calc = GUICtrlCreateButton("Calc",29,393,100,30,-1,-1)
GUICtrlCreateLabel("To:",196,95,47,33,-1,-1)
GUICtrlSetFont(-1,21,400,0,"MS Sans Serif")
GUICtrlSetBkColor(-1,"-2")
$List2 = GUICtrlCreateButton("Show Hour Details",10,427,144,39,-1,-1)
$Clear = GUICtrlCreateButton("Clear Hours",504,15,142,22,-1,-1)
$MyBanner = GUICtrlCreateButton("MyBanner",214,15,165,30,-1,-1)
GUICtrlSetBkColor(-1,"0x00FFFF")
GUICtrlCreateLabel("To:",493,95,76,28,-1,-1)
GUICtrlSetFont(-1,21,400,0,"MS Sans Serif")
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateGroup("Sun,Tue,Thu",54,68,222,173,-1,-1)
GUICtrlSetFont(-1,15,400,0,"MS Sans Serif")
GUICtrlSetColor(-1,"0x0000FF")
GUICtrlSetBkColor(-1,"0xF0F0F0")
GUICtrlCreateLabel("From :",386,95,73,40,-1,-1)
GUICtrlSetFont(-1,21,400,0,"MS Sans Serif")
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateGroup("Mon,Wed",355,68,222,173,-1,-1)
GUICtrlSetFont(-1,15,400,0,"MS Sans Serif")
GUICtrlSetColor(-1,"0x0000FF")
GUICtrlSetBkColor(-1,"0xF0F0F0")
$day2 = GUICtrlCreateButton("Set \ Select Day",428,205,100,30,-1,-1)
GUICtrlSetBkColor(-1,"0x00FF00")
$UpdateCheck = GUICtrlCreateButton("CheckFor Updates",15,8,129,30,-1,-1)
GUICtrlSetFont(-1,11,400,0,"MS Sans Serif")
$From3 = GUICtrlCreateInput("",71,169,90,27,-1,$WS_EX_CLIENTEDGE)
$ListView = GUICtrlCreatelistview("Normal Time||Banner Time",425,302,223,164,-1,$WS_EX_CLIENTEDGE)
$To3 = GUICtrlCreateInput("",172,169,90,27,-1,$WS_EX_CLIENTEDGE)
$Checkbox = GUICtrlCreateCheckbox("Hide IE Mode",386,18,83,20,-1,-1)
$ListviewBannerDate = GUICtrlCreatelistview("***     My Banner Dates  ***",198,293,212,142,-1,$WS_EX_CLIENTEDGE)
GUICtrlCreateLabel("Did You Forgot Some Days?",204,242,224,51,-1,-1)
GUICtrlSetFont(-1,17,400,0,"MS Sans Serif")
GUICtrlSetBkColor(-1,"-2")



#cs
[gui]
Handle_deklaration=default
Handle_deklaration_const=false
title=QU Job Calculator  Hours
breite=650
hoehe=471
style=-1
exstyle=-1
bgcolour=0xF0F0F0
bgimage=none
handle=MyGui
parent=
code=
codebeforegui=
xpos=-1
ypos=-1
center_gui=true
title_textmode=normal
isf_include_once=false
only_controls_in_isf=false
const_modus=default
gui_event_close=
gui_event_minimize=
gui_event_restore=
gui_event_maximize=
gui_event_mousemove=
gui_event_primarydown=
gui_event_primaryup=
gui_event_secoundarydown=
gui_event_secoundaryup=
gui_event_resized=
gui_event_dropped=
[0x00081E86]
handle=406
locked=0
resize=
code=
type=button
x=110
y=205
width=100
height=30
text=Set \ Select Day
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
textcolour=0x000000
bgcolour=0x00FF00
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=day1
func=
bgimage=
order=2
tabpage=-1
iconindex=
textmode=text
[0x00021E7E]
handle=407
locked=0
resize=
code=
type=input
x=172
y=132
width=90
height=27
text=
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=$WS_EX_CLIENTEDGE
textcolour=0x000000
bgcolour=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=To1
func=
bgimage=
order=1
tabpage=-1
iconindex=
textmode=text
[0x00021E78]
handle=408
locked=0
resize=
code=
type=input
x=71
y=132
width=90
height=27
text=
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=$WS_EX_CLIENTEDGE
textcolour=0x000000
bgcolour=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=From1
func=
bgimage=
tabpage=-1
order=0
iconindex=
textmode=text
[0x00021E70]
handle=409
locked=0
resize=
code=
type=input
x=4
y=363
width=150
height=20
text=
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=$WS_EX_CLIENTEDGE
textcolour=0x000000
bgcolour=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=Resault
func=
bgimage=
order=9
tabpage=-1
iconindex=
textmode=text
[0x00021E68]
handle=410
locked=0
resize=
code=
type=button
x=29
y=393
width=100
height=30
text=Calc
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
textcolour=0x000000
bgcolour=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=Calc
func=
bgimage=
tabpage=-1
iconindex=
textmode=text
order=10
[0x00021E60]
handle=411
locked=0
resize=
code=
type=label
x=0
y=330
width=217
height=33
text=Check My Totall Hours:
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
textcolour=0x000000
bgcolour=-2
font=MS Sans Serif
fontsize=17
fontstyle=400
fontattribute=0
id=
func=
bgimage=
order=7
tabpage=-1
iconindex=
textmode=text
[0x00021E58]
handle=412
locked=0
resize=
code=
type=label
x=80
y=95
width=79
height=27
text=From :
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
textcolour=0x000000
bgcolour=-2
font=MS Sans Serif
fontsize=21
fontstyle=400
fontattribute=0
id=
func=
bgimage=
tabpage=-1
iconindex=
textmode=text
order=8
[0x00021E50]
handle=413
locked=0
resize=
code=
type=label
x=196
y=95
width=47
height=33
text=To:
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
textcolour=0x000000
bgcolour=-2
font=MS Sans Serif
fontsize=21
fontstyle=400
fontattribute=0
id=
func=
bgimage=
tabpage=-1
iconindex=
textmode=text
order=12
[0x00021E48]
handle=414
locked=0
resize=
code=
type=button
x=504
y=15
width=142
height=22
text=Clear Hours
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
textcolour=0x000000
bgcolour=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=Clear
func=
bgimage=
order=14
tabpage=-1
iconindex=
textmode=text
[0x00081E40]
handle=415
locked=0
resize=
code=
type=button
x=10
y=427
width=144
height=39
text=Show Hour Details
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
textcolour=0x000000
bgcolour=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=List2
func=
bgimage=
order=13
tabpage=-1
iconindex=
textmode=text
[0x00021E4A]
handle=416
locked=0
resize=
code=
type=button
x=214
y=15
width=165
height=30
text=MyBanner
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
textcolour=0x000000
bgcolour=0x00FFFF
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=MyBanner
func=
bgimage=
order=15
tabpage=-1
iconindex=
textmode=text
[0x00021E52]
handle=417
locked=0
resize=
code=
type=label
x=493
y=95
width=76
height=28
text=To:
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
textcolour=0x000000
bgcolour=-2
font=MS Sans Serif
fontsize=21
fontstyle=400
fontattribute=0
id=
func=
bgimage=
tabpage=-1
iconindex=
textmode=text
order=16
[0x00021E5A]
handle=418
locked=0
resize=
code=
type=input
x=379
y=132
width=90
height=27
text=
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=$WS_EX_CLIENTEDGE
textcolour=0x000000
bgcolour=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=From2
func=
bgimage=
tabpage=-1
iconindex=
textmode=text
order=3
[0x00021E62]
handle=419
locked=0
resize=
code=
type=input
x=480
y=132
width=90
height=27
text=
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=$WS_EX_CLIENTEDGE
textcolour=0x000000
bgcolour=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=To2
func=
bgimage=
tabpage=-1
iconindex=
textmode=text
order=4
[0x00021E6E]
handle=420
locked=0
resize=
code=
type=input
x=480
y=169
width=90
height=27
text=
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=$WS_EX_CLIENTEDGE
textcolour=0x000000
bgcolour=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=To4
func=
bgimage=
tabpage=-1
iconindex=
textmode=text
order=5
[0x00021E76]
handle=421
locked=0
resize=
code=
type=input
x=379
y=169
width=90
height=27
text=
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=$WS_EX_CLIENTEDGE
textcolour=0x000000
bgcolour=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=From4
func=
bgimage=
tabpage=-1
iconindex=
textmode=text
order=6
[0x00021E7C]
handle=422
locked=0
resize=
code=
type=label
x=386
y=95
width=73
height=40
text=From :
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
textcolour=0x000000
bgcolour=-2
font=MS Sans Serif
fontsize=21
fontstyle=400
fontattribute=0
id=
func=
bgimage=
tabpage=-1
iconindex=
textmode=text
order=18
[0x00021E88]
handle=423
locked=0
resize=
code=
type=group
x=54
y=68
width=222
height=173
text=Sun,Tue,Thu
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
textcolour=0x0000FF
bgcolour=0xF0F0F0
font=MS Sans Serif
fontsize=15
fontstyle=400
fontattribute=0
id=
func=
bgimage=
order=18
tabpage=-1
iconindex=
textmode=text
[0x00021E94]
handle=424
locked=0
resize=
code=
type=group
x=355
y=68
width=222
height=173
text=Mon,Wed
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
textcolour=0x0000FF
bgcolour=0xF0F0F0
font=MS Sans Serif
fontsize=15
fontstyle=400
fontattribute=0
id=
func=
bgimage=
order=19
tabpage=-1
iconindex=
textmode=text
[0x00021EA4]
handle=425
locked=0
resize=
code=
type=button
x=428
y=205
width=100
height=30
text=Set \ Select Day
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
textcolour=0x000000
bgcolour=0x00FF00
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=day2
func=
bgimage=
tabpage=-1
iconindex=
textmode=text
order=20
[0x00041EAC]
handle=426
locked=0
resize=
code=
type=button
x=15
y=8
width=129
height=30
text=CheckFor Updates
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
textcolour=0x000000
bgcolour=
font=MS Sans Serif
fontsize=11
fontstyle=400
fontattribute=0
id=UpdateCheck
func=
bgimage=
order=21
tabpage=-1
iconindex=
textmode=text
[0x00031E84]
handle=427
locked=0
resize=
code=
type=input
x=71
y=169
width=90
height=27
text=
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=$WS_EX_CLIENTEDGE
textcolour=0x000000
bgcolour=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=From3
func=
bgimage=
tabpage=-1
iconindex=
textmode=text
order=23
[0x00041E42]
handle=428
locked=0
resize=
code=
type=input
x=172
y=169
width=90
height=27
text=
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=$WS_EX_CLIENTEDGE
textcolour=0x000000
bgcolour=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=To3
func=
bgimage=
tabpage=-1
iconindex=
textmode=text
order=24
[0x000E1BEE]
handle=429
locked=0
resize=
code=
type=listview
x=425
y=302
width=223
height=164
text=Normal Time||Banner Time
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=$WS_EX_CLIENTEDGE
textcolour=0x000000
bgcolour=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=ListView
func=
bgimage=
order=24
tabpage=-1
iconindex=
textmode=text
[0x00061C22]
handle=430
locked=0
resize=
code=
type=checkbox
x=386
y=18
width=83
height=20
text=Hide IE Mode
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
textcolour=0x000000
bgcolour=0xF0F0F0
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=Checkbox
func=
bgimage=
order=25
tabpage=-1
iconindex=
textmode=text
[0x00041BAC]
handle=431
locked=0
resize=
code=
type=listview
x=198
y=293
width=212
height=142
text=***     My Banner Dates  ***
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=$WS_EX_CLIENTEDGE
textcolour=0x000000
bgcolour=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
id=ListviewBannerDate
func=
bgimage=
tabpage=-1
iconindex=
textmode=text
order=26
[0x00041BA4]
handle=432
locked=0
resize=
code=
type=label
x=204
y=242
width=224
height=51
text=Did You Forgot Some Days?
tooltip=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
textcolour=0x000000
bgcolour=-2
font=MS Sans Serif
fontsize=17
fontstyle=400
fontattribute=0
id=
func=
bgimage=
tabpage=-1
iconindex=
textmode=text
order=28
#ce

how to transfer this Gui to another theme ?

Edited by abdulrahmanok
Link to comment
Share on other sites

No clue, I don't use ISN studio, I do it by hand. I would just look at the example scripts of the skinner you're using and see how it's done in them and then stick them into your real script.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to comment
Share on other sites

  • Moderators

Start with a GUI template such as this, then look at the GUICtrlCreate... functions in the help file to create your controls.

#include <GUIConstantsEx.au3>

GUICreate("Test", 300, 300)

GUISetState(@SW_SHOW)

    While 1
        Switch GUIGetMsg()
            Case $GUI_EVENT_CLOSE
                ExitLoop
        EndSwitch
    WEnd

GUIDelete()

 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

@JLogan3o13

Thanks for reply , I tried this:

My Original code :

$MyGui = GUICreate("QU Job Calculator  Hours",650,471,-1,-1,-1,-1)

After Ez Theme Code :

$MyGui = EzSkinGUICreate("QU Job Calculator  Hours",650,471)

And its Created with themed Gui.

The Issue :

1- After Add buttons from old Gui To Themed Gui It shows in another place !
2- Can't Add Themed Listbox or textbox Can Only Add Themed buttons...

 

 

Link to comment
Share on other sites

On 11/11/2016 at 7:23 AM, abdulrahmanok said:
, I do it by hand.

Is this easy to do ? how you can make button in specific coordinates and organize all items in form without form creator ???

It's not easy, but it's a better way to learn to build a GUI in my opinion. I can visualize, very roughly, where the controls will end up on the GUI, and then I just tweak the settings if they're off.

The problem I have with all of the form creators out there for AutoIt is that your stuck with the authors coding style rather than your own and you then still have to rewrite what code they spit out, so I don't see much in the way of a time savings. For me, they're good for aligning a bunch of controls quickly and easily, but not much else. 

I've only briefly used some of them, so I don't know their full potential, so I can only go by what I have seen and how I write code.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

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...