Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello All,

First, this is not a homework question. Secondly, I was wondering if one could have an app when numbers are entered to automatically (with the help of a comboBox) do the calculation and print to a textBox

Rob

I think I am going in the wrong direction with "Validating fields"

 

Thanks

  • *Experts*
Posted
If you have one sub to do the calculation, and call it from the Validate event of the controls, it should do the trick. You don't necessarily have to validate the input, but the Validate input is called when you enter data, and leave the control.
  • *Experts*
Posted
Every data entry control has a Validating event which is fired whenever you try to leave the focus of the control. Just call the sub from there.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...