Jump to content

Help with Links and Dates


Monty
 Share

Recommended Posts

Hi all, I have a couple of question and hoping someone can please help.

Firstly, is there a way of making a link (like a URL on webpage) on a GUI ???

And secondly, I have used "GUICtrlCreateDate". Once another/day date is chosen, what command can you use to reset this date to todays date...(please see below)

#include <GUIConstants.au3>
#include <DateTimeConstants.au3>
$gui_main = GUICreate("GUI", 400, 250)
GUISetBkColor(0xEEEEFF)
$font = "Century Gothic"
GUISetFont(10, 400, 0, $font)
$data = GUICtrlCreateInput("", 10, 25, 250, 25)
$date = GUICtrlCreateDate("", 10, 60, 250, 25, $DTS_SHORTDATEFORMAT)
$button = GUICtrlCreateButton("Reset", 10, 95, 80, 25)
GUISetState()
Do
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            GUIDelete()
        Case $msg = $button
            ; ????????????????????????????????
    EndSelect
Until Not WinExists($gui_main)
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...