Jump to content

GuiCtrlSetData cannot handle the result of GUICtrlRead for a Date-Field


JuergenF
 Share

Recommended Posts

This doesn't work on a German System

$Inp_From = GuiCtrlCreateDate("", 0, 30, 100, 20, $DTS_SHORTDATEFORMAT)

$Inp_To = GUICtrlCreateDate("", 0, 30, 100, 20, $DTS_SHORTDATEFORMAT)

$data = GUICtrlRead($Inp_From)

GuiCtrlSetData($Inp_To, $data)

$data is set to "05.12.2006"

But GuiCtrlSetData cannot handle that format.

That is not logical. Can that be fixed please.

Link to comment
Share on other sites

This doesn't work on a German System

$data is set to "05.12.2006"

But GuiCtrlSetData cannot handle that format.

That is not logical. Can that be fixed please.

can you please post the whole script or at least a working sample?

EDIT: and what do you mean by "But GuiCtrlSetData cannot handle that format.". Is there an error message or what?

Thanks

Kurt

Edited by /dev/null

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

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...