Home > Back-end > Ask god to help C=A, B, A and B is A variable mathematical formula how to make A small program
Ask god to help C=A, B, A and B is A variable mathematical formula how to make A small program
Time:09-15
For example, I want to do A small computing software: {)/12 (A * B * 17.5}/3.5 * 1.2=C, A, B as A variable, such A formula I think separately generated A small software, as long as the inside the box to fill in A, B value can get the result of C, how to do?
CodePudding user response:
Too simple, Add a form, and then two text edit box, limited number, and then use a button or write in the change event of calculated results with the edit text box labe component or edit component showed the result?
CodePudding user response:
So simple? Use two TEdit as input and output using a text to display, then into your formula, Two TEdit the input value is A and B,,, TEdit using OnChange event line