Re: Trapping Mouse Click on a grid

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Have you added a ControlSource for the Checkbox
-Anders

"TonySper" <tsperduti@xxxxxxxxxxxxxxxxxxx> wrote in message
news:SSuoh.29036$%e7.27296@xxxxxxxxxxxxxxxxxxxxxxxxx
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 tried
This.Column(9).Addobject("check1","checkbox")
This.Column(9).Activecontrol="check1"
Sorry, should have been CurrentControl

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.






.



Relevant Pages

  • Re: Trapping Mouse Click on a grid
    ... I am getting closer. ... Now the grid comes up with the entire column with the field check ... Then you'll get a checkbox in every row, ... the active row. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Problem mit CheckBox im Grid
    ... Zusätzlich mußt Du der Ansicht noch ... Das Problem mit der Checkbox entsteht dadurch, ... Controlsource des Grid erst später erstellst, ... Cursor mit dem Grid verbinden ...
    (microsoft.public.de.fox)
  • Re: Why is my grid read-only?
    ... using the View Designer - the additional ... > grid is resorted. ... When I click the command button, ... > But when I click the checkbox in the grid iteself, ...
    (microsoft.public.fox.programmer.exchange)
  • Re: disabling checkbox in checkedlistbox
    ... In the "ItemCheck" Property of the check list box you just reset the ... with every item and i jus wan to disable that checkbox.. ... I would use thier Ultra DataGrid and add 2 columns to it. ... If you use Microsoft's grid, you can try this method but no guarantees. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Trapping Mouse Click on a grid
    ... I am assuming the Grid is in the form. ... Right Click the grid -> Select Edit from the popup ... Select the Checkbox control under the appropriate column ...
    (microsoft.public.fox.programmer.exchange)