Jump to content

msgbox


Recommended Posts

i can't get it to work

i wanna make the GUICtrlread letters thicker fett sow you can see it better.

MsgBox(1, "Selected Execute Time", "You selected this time window: "&GUICtrlread($Date)&"  Time: "&GUICtrlread($tijdstip))
I don't think using Msgbox will give you that, you should use GUIcreate() and there you can use another font with using

GUICtrlSetFont.

Link to comment
Share on other sites

hi, use this instead:

#include <GUIconstants.au3>
$font="David"
GUICreate("Selected Execute Time",330,100)
 GUISetFont (10, 600,  $font)
$s = GUICtrlCreateLabel("You selected this time window Date and TIME", 10, 30)

$ok = GUICtrlCreateButton("OK", 100, 60)
$cancel = GUICtrlCreateButton("Cancel", 150, 60)
GUISetState()


While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $ok
            
        Case $msg = $cancel
            Exit
        Case $msg = $GUI_EVENT_CLOSE
            Exit
    EndSelect
    
WEnd
Exit
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...