I have two Time controls and the first Time (vT1) should be 09:15:00.
Following is not working. I am not able to find anything in google. I am a noob here.
Code: Select all
GUI, Show, w300 h440 x800 y90, Nest Vwap Backfill
/*
;Create Menu and Menu items
Menu, Menubar, Add, &Settings ;, gOnSettings
Menu, Menubar, Add , &Help ;, gHelpmenu
Gui, Menu, Menubar
*/
; Create GUI Body
FormatTime, TimeString,,09:15:00
GUI,Font, 8 ,
Gui, Add ,Text, x10 y10 W90 h15, Backfill Gap from -
Gui, Add, DateTime, xp+95 y8 w70 h20 vT1 choose%TimeString%,time
Gui, Add, Text,xp+75 y10 w40 h15, Up To
Gui, Add, DateTime, xp+40 y8 w70 h20 vT2, time
GUI, Add, GroupBox, x10 yp+20 w250 h25, Backfill from -
GUI, Add, Radio, xp+85 yp+5 w70 h15 vNestPlus g_OnPlusbackfill, NEST Plus
GUI, Add, Radio, xp+85 yp w90 h15 Checked1 vNpn g_OnPlusbackfill, VWAP/Stat
Gui, Add, Text,x10 yp+25 w50 h15, `Date-from
Gui, Add, DateTime, xp+55 yp-2 w90 h20 vD1 Disabled
Gui, Add, Text, xp+95 yp+2 w30 h15, To
Gui, Add, DateTime, xp+30 yp-2 w90 h20 vD2 Disabled
Gui, Add, Button, x10 yp+352 w80 h25 vButton1gSelectAll, Select All
Gui, Add, Button, xp+90 yp w80 h25 vButton2gDeSelectAll, DeSelect All
Gui, Add, Button, xp+90 yp w80 h25 vButton3gOn_DoBackfill_Click, Do Backfill
return
ExitApp