From: mandafrank on
Hello,

I want to dim a calculateButton in my program but I can't figure out
how to or where to put the code. My program must check that the
quantityTextBox.Text, titleTextBox.Text and dvdRadioButton.Checked or
vhsRadioButton.Checked have valid input before allowing the user to
calculate. I want to dim this button until all those items have been
checked but I can't figure out how. Any help would be appreciated.

SchoolGirl
From: dearcilla on
On Jun 23, 4:52 pm, mandafr...(a)comcast.net wrote:
> Hello,
>
> I want to dim a calculateButton in my program but I can't figure out
> how to or where to put the code. My program must check that the
> quantityTextBox.Text, titleTextBox.Text and dvdRadioButton.Checked or
> vhsRadioButton.Checked have valid input before allowing the user to
> calculate. I want to dim this button until all those items have been
> checked but I can't figure out how. Any help would be appreciated.
>
> SchoolGirl

Drop the class now, before it's too late.
From: Harold Aptroot on
<mandafrank(a)comcast.net> wrote
> Hello,
>
> I want to dim a calculateButton in my program but I can't figure out
> how to or where to put the code. My program must check that the
> quantityTextBox.Text, titleTextBox.Text and dvdRadioButton.Checked or
> vhsRadioButton.Checked have valid input before allowing the user to
> calculate. I want to dim this button until all those items have been
> checked but I can't figure out how. Any help would be appreciated.
>
> SchoolGirl

Is that some kind of joke?

If not, try calculateButton.Enabled = False
And just put it everywhere to make the chance that it gets done as high as
possible?

If lazy, recheck the validity of all values in an event handler that gets
invoked on every action and re-enable the button if true
If not lazy, think of something yourself

Else (yes that is to the first if)
Ok I admit it's somewhat funny

From: rossum on
On Mon, 23 Jun 2008 13:52:06 -0700 (PDT), mandafrank(a)comcast.net
wrote:

>Hello,
>
>I want to dim a calculateButton in my program but I can't figure out
>how to or where to put the code. My program must check that the
>quantityTextBox.Text, titleTextBox.Text and dvdRadioButton.Checked or
>vhsRadioButton.Checked have valid input before allowing the user to
>calculate. I want to dim this button until all those items have been
>checked but I can't figure out how. Any help would be appreciated.
>
>SchoolGirl
Something along the lines of "MyButton.enabled = false" will probably
do what you want. (Do not trust my syntax, I am more used to Java than
VB.) You might be better off asking in a group dedicated to VB, such
as microsoft.public.dotnet.languages.vb

rossum

From: mandafrank on
On Jun 23, 5:49 pm, "Harold Aptroot" <harold.aptr...(a)gmail.com> wrote:
> <mandafr...(a)comcast.net> wrote
>
> > Hello,
>
> > I want to dim a calculateButton in my program but I can't figure out
> > how to or where to put the code.  My program must check that the
> > quantityTextBox.Text, titleTextBox.Text and dvdRadioButton.Checked or
> > vhsRadioButton.Checked have valid input before allowing the user to
> > calculate.  I want to dim this button until all those items have been
> > checked but I can't figure out how.  Any help would be appreciated.
>
> > SchoolGirl
>
> Is that some kind of joke?
>
> If not, try calculateButton.Enabled = False
> And just put it everywhere to make the chance that it gets done as high as
> possible?
>
> If lazy, recheck the validity of all values in an event handler that gets
> invoked on every action and re-enable the button if true
> If not lazy, think of something yourself
>
> Else (yes that is to the first if)
> Ok I admit it's somewhat funny

No it's not a joke, I'm just in the forth week of an online class with
little direction except the book. Thanks, I will try that.
SchoolGirl