Re: Trapping Mouse Click on a grid
- From: "TonySper" <tsperduti@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 8 Jan 2007 12:07:04 -0500
Olaf,
I am getting closer. I did
This.Columns(9).Sparse = .F.
THIS.Columns(9).ADDOBJECT("Check1","checkbox")
THIS.Columns(9).CurrentControl="check1"
Now the grid comes up with the entire column with the field check
marked but clicking the mouse on them does not change them. They all
stay checked.
How do I get the mouse click to toggle the check marks??
Thanks for all your help.
Tony
"Olaf Doschke" <b2xhZi5kb3NjaGtlQHNldG1pY3MuZGU@xxxxxxxxxxxxx> wrote
in message news:Oynzv5xMHHA.1240@xxxxxxxxxxxxxxxxxxxxxxx
False. I have triedSorry, should have been CurrentControl
This.Column(9).Addobject("check1","checkbox")
This.Column(9).Activecontrol="check1"
Another thing you might want to set is
Column(9).Sparse = .F.
Then you'll get a checkbox in every row, not only
the active row.
Bye, Olaf.
.
- Follow-Ups:
- Re: Trapping Mouse Click on a grid
- From: Olaf Doschke
- Re: Trapping Mouse Click on a grid
- From: Anders
- Re: Trapping Mouse Click on a grid
- References:
- Trapping Mouse Click on a grid
- From: TonySper
- Re: Trapping Mouse Click on a grid
- From: Dan Freeman
- Re: Trapping Mouse Click on a grid
- From: TonySper
- Re: Trapping Mouse Click on a grid
- From: Dan Freeman
- Re: Trapping Mouse Click on a grid
- From: TonySper
- Trapping Mouse Click on a grid
- Prev by Date: Re: conversion from Netware
- Next by Date: Re: [VFP 9] strange problem
- Previous by thread: Re: Trapping Mouse Click on a grid
- Next by thread: Re: Trapping Mouse Click on a grid
- Index(es):
Relevant Pages
|