Unable to use my own variables in the gui editor
Verfasst: Mi 26. Jan 2022, 13:11
Hi
I have some info which I have defined in Autoit as a variable, in this case it is just $DateTime which contains the date and time, i can enter this line $DateTimeOnForm = GUICtrlCreateLabel($DateTime, 310, 20, 300, 25) and it will display the variable instead of the normal text entry. But I cannot do this in formstudio. I tried to import the gui from autoit, isf then changes the var name to "DateTime" as seen her $DateTimeLabel = GUICtrlCreateLabel("DateTime",343,20,143,25,BitOr($SS_LEFT,$SS_NOTIFY),-1)
Am I trying to do something that the formstudio cannot do or is there a workaround?
Regards
Henrik
I have some info which I have defined in Autoit as a variable, in this case it is just $DateTime which contains the date and time, i can enter this line $DateTimeOnForm = GUICtrlCreateLabel($DateTime, 310, 20, 300, 25) and it will display the variable instead of the normal text entry. But I cannot do this in formstudio. I tried to import the gui from autoit, isf then changes the var name to "DateTime" as seen her $DateTimeLabel = GUICtrlCreateLabel("DateTime",343,20,143,25,BitOr($SS_LEFT,$SS_NOTIFY),-1)
Am I trying to do something that the formstudio cannot do or is there a workaround?
Regards
Henrik