Hi,
I'm just getting back into programming after a few years break and I'm a little clueless as to how I would achieve a small part of a project to get my back into the swing of things.
Basically we have a command that sets what the machine does at a certain time of the day. This command has a limit of 8 steps and always has to equal 1440 (24hrs).
An example of this command would be: 001*A*480*B*60*C*600*A*300
So this would do..
"A" during 00:00-08:00
"B" till 09:00
"C" till 19:00
"A" till 24:00
I can do the easy part i.e. split them up but I would like someway of dynamically creating another text box if they dont add up to 1440 (I am okay with doing dynamic text boxes and have the findcontrol stuff i guess its just updating the x and y axis on the boxes below so it looks neat?)
I could do 8 textboxes etc but we can have upto 8 of these commands wanting to display on one tab.
Any help would be great!
Thanks
AJG
I'm just getting back into programming after a few years break and I'm a little clueless as to how I would achieve a small part of a project to get my back into the swing of things.
Basically we have a command that sets what the machine does at a certain time of the day. This command has a limit of 8 steps and always has to equal 1440 (24hrs).
An example of this command would be: 001*A*480*B*60*C*600*A*300
So this would do..
"A" during 00:00-08:00
"B" till 09:00
"C" till 19:00
"A" till 24:00
I can do the easy part i.e. split them up but I would like someway of dynamically creating another text box if they dont add up to 1440 (I am okay with doing dynamic text boxes and have the findcontrol stuff i guess its just updating the x and y axis on the boxes below so it looks neat?)
I could do 8 textboxes etc but we can have upto 8 of these commands wanting to display on one tab.
Any help would be great!
Thanks
AJG
Last edited: