Jump to content
Sign in to follow this  
mrbig1479

I updated to the new Auto it version and something is wrong

Recommended Posts

mrbig1479

hey

i have this line in the script

For $i = 0 To 9
    $icons[$i] = GUICtrlCreateButton("{" & $i & "}", 10 + $i * 30, 340, 25, 25, $BS_BITMAP)
    GUICtrlSetImage(-1, @ScriptDir & "\Symbols\" & $i & ".bmp")
Next

It used to work

(i made the new GUI include GUIConstantsEx.au3 in addition to the GuiConstants.au3)

I have no Idea why its not working.

Sorry if im a noob ..

Edit: Problem solved

Edited by mrbig1479

Share this post


Link to post
Share on other sites
quagmire1973

hey

i have this line in the script

For $i = 0 To 9
    $icons[$i] = GUICtrlCreateButton("{" & $i & "}", 10 + $i * 30, 340, 25, 25, $BS_BITMAP)
    GUICtrlSetImage(-1, @ScriptDir & "\Symbols\" & $i & ".bmp")
Next

It used to work

(i made the new GUI include GUIConstantsEx.au3 in addition to the GuiConstants.au3)

I have no Idea why its not working.

Sorry if im a noob ..

Edit: Problem solved

What did you do to fix this issue? I am having the same problem.

Share this post


Link to post
Share on other sites
aslani

What did you do to fix this issue? I am having the same problem.

The new version now requires you to include a lot of different Constants, in the OPs case, I believe it's the;

#include <ButtonConstants.au3>

[font="Georgia"]Chances are, I'm wrong.[/font]HotKey trouble?Stringregexp GuideAutoIT Current Version

Share this post


Link to post
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
Sign in to follow this  

×