Re: Databinding Checkboxes
- From: "Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx>
- Date: Thu, 13 Oct 2005 22:15:36 +0200
Mike,
What if your user unchecks the checkbox, what is than the action?
Cor
"Mike" <pcgurunospam@xxxxxxxxxxxxx> schreef in bericht
news:nQx3f.58$6l.32@xxxxxxxxxxxxxxxxxxxxxxxxx
> Cor,
>
> We agree - I do not prefer to handle it this way. I just don't know enough
> to do it a better way. I'm thinking you might, though. :)
>
> Can you offer me some suggestions?
>
> Thanks!
> Mike
>
> "Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx> wrote in message
> news:u%23rTQSC0FHA.128@xxxxxxxxxxxxxxxxxxxxxxx
>> Mike,
>>
>> You can not bind to nothing.
>>
>> Therefore as you want it to do your way, than it is just old checking.
>>
>> If mydatarow Is Nothing then
>> mycheckbox.checked = true
>> end if
>>
>> And using the checkstate change event to create newrows.
>>
>> Although this is in my opinion a strange and probably quick to spaghetti
>> and errors leading solution. (You have by instance to protect by
>> disabling that checkbox (what looks weird) the use of that checkbox
>> again.
>>
>> However just my thought,
>>
>> Cor
>>
>>
>
>
.
- Follow-Ups:
- Re: Databinding Checkboxes
- From: Mike
- Re: Databinding Checkboxes
- References:
- Databinding Checkboxes
- From: Mike
- Re: Databinding Checkboxes
- From: Jerry H.
- Re: Databinding Checkboxes
- From: Jerry H.
- Re: Databinding Checkboxes
- From: Mike
- Re: Databinding Checkboxes
- From: Mike
- Re: Databinding Checkboxes
- From: Cor Ligthert [MVP]
- Re: Databinding Checkboxes
- From: Mike
- Databinding Checkboxes
- Prev by Date: Re: Run code EVERY time something closes
- Next by Date: Re: Run code EVERY time something closes
- Previous by thread: Re: Databinding Checkboxes
- Next by thread: Re: Databinding Checkboxes
- Index(es):
Relevant Pages
|