Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Sort of a BeforeUpdate event for a CheckBox

$
0
0

Hi friends,

In one of my VSTO project as I have a checkbox control on a form I need to apply some appropriate code to the same so as to be runbefore the checkstatus of the same is changed. In simple words, consider an example that when a checkbox(named ChkBox) is clicked, it should first check and ensure as to whether a textbox(named TxtBox) on the same form consists of a numeric entry. If theTxtBox does so contain a numeric value only then the CheckedStatus ofChkBox may be changed to Checked otherwise the ChkBox remains to be unchecked.

Thanx in advance.


Best Regards, Faraz A Qureshi


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>