Sign in to follow this  
Followers 0
alawoona

Gui Question

13 posts in this topic

#1 ·  Posted (edited)

Why doesn't this display the "date" control?

GUICreate ( "onDemand", 200,200,800,200)

GUISetControl ( "date","",10, 10,185,20 )

GUIWaitClose ( )

Edited by alawoona

Share this post


Link to post
Share on other sites



As best I can remember, JP didn't put date control support in yet because he was having issues compiling AutoIt with it in there.

Share this post


Link to post
Share on other sites

Thanks Valik. Another question about autoit-gui. I tried compiling this script:

#include "GUI_include.au3"

GUICreate ( "onDemand", 200,200,800,200)

GUISetControl ( "button","Hello",10,10,185,20 )

GUIWaitClose ( )

but get an error message about GUICreate being an unknown function when I run the executable. Does compile work with autoit-gui?

Share this post


Link to post
Share on other sites

Thanks Valik. Another question about autoit-gui. I tried compiling this script:

#include "GUI_include.au3"

GUICreate ( "onDemand", 200,200,800,200)

GUISetControl ( "button","Hello",10,10,185,20 )

GUIWaitClose ( )

but get an error message about GUICreate being an unknown function when I run the executable. Does compile work with autoit-gui?

Don't think that there is a compiler included in the Beta which JPM made available.

It will not work with the regular aut2exe.exe.


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

You need to copy Aut2Exe from your AutoIt installation directory to the same directory that you extracted AutoIt-GUI to. There is already an AutoItSC.bin included in the archive, just no Aut2Exe.exe. You have to run Aut2Exe manually, the context menu when right clicking won't work.

Share this post


Link to post
Share on other sites

:whistle:  Learn something new everyday.... :angry:

Ditto ! :evil:

Thanks for the information, Valik ! B)

Share this post


Link to post
Share on other sites

Ditto Ditto - seems you also have to copy upx.exe to your autoit-gui directory as well.

Share this post


Link to post
Share on other sites

You need to copy Aut2Exe from your AutoIt installation directory to the same directory that you extracted AutoIt-GUI to.  There is already an AutoItSC.bin included in the archive, just no Aut2Exe.exe.  You have to run Aut2Exe manually, the context menu when right clicking won't work.

I never thought that just include au2exe and upx simplify the test.

Will be include in 101.10

Share this post


Link to post
Share on other sites

Do you sure? I've tried this code with the 101.9 version - and this works just fine.

That's was a long time ago in fact the code from AU3GUI was not needed to have the date working under XP at least.

foe me is is working as Kot say

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

I am using Win2000. Will test it again using XP when I get home.

Edited by alawoona

Share this post


Link to post
Share on other sites

I am using Win2000. Will test it again using XP when I get home.

Did you find the reason?

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  
Followers 0