Sign in to follow this  
Followers 0
rony2006

Input box auto refresh

5 posts in this topic

#1 ·  Posted (edited)

Hello,

I have the following script and I want to show the date and time refreshed each second in the gui.

I tried with:

Do
    GUICtrlSetData($datasiora,_Now())

Until $denumire ="dfdsfjhg4r43"

In the while loop but after that the buttons don't work anymore.

 

How I can update $datasiora to have the date and hour each time refreshed in the gui?

Can you help me please?

 

 

 

 

 

Edited by rony2006
private code and img used

Share this post


Link to post
Share on other sites



Maybe what you could try is creating 1 new variable: t1.  Try initially setting t1 to @Sec macro.  Then just create a loop where if t1 <> @Sec, then update date control.  You think that would work for you?

Share this post


Link to post
Share on other sites

The problem is that I don't know were to put the loop.

Because I tried with a loop and the date was updating but the buttons and exit button was not working anymore.

Share this post


Link to post
Share on other sites

Thank you! It is working.

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