system development

By kinene ·
hey guys am developing a filing system and somewhere in it there is some adding and i need help am using vb i want to get the sum by putting the cursor in a textbox then it shows me the sum of the textboxes above

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Bad idea

by Tony Hopkinson In reply to system development

You ever see any form anywhere work like that?
If it's readonly it's expected not to have a control logic attached to it, if it's not readonly
Tab/click to enter it and any key press is gouing to wipe out what you are putting in it.

What you should do is create a class to hold the numbers, set them from where ever they come from including edit box, and on them changing calculate, then display the results.

Related Discussions

Related Forums