Home > Software engineering >  Consult, multiple controls do different jobs
Consult, multiple controls do different jobs

Time:10-06

Consult, I put A lot of controls, but need to make the part of the control handle A, another part of the process B, how to solve this problem? The simplest code and the function of the type, control array can?

CodePudding user response:

Control array can realize
The Select Case Index
Case 0,1,2,3,4
Do one thing
In Case the Else
Do the other things
End the Select

CodePudding user response:

Different controls do different things, originally is such, your question is too broad

CodePudding user response:

Described not clear, the feeling is when the form loads, part of the control, the execution of A process, A step points B process control point, you place your code into the form loading case is ok,

CodePudding user response:

IF statement execution,

CodePudding user response:

If it is handled separately, that is the same, if you want to ordered two controls, perform two functions at the same time, it would need to use the multithreading
For you automatically registered account, click button point automatically top-up, another button that will need to use multithreading