Re: Trapping Mouse Click on a grid

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



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
    ... Have you added a ControlSource for the Checkbox ... I am getting closer. ... Now the grid comes up with the entire column with the field check ... the active row. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: control over grid scrolling
    ... > Anyone know a good way to scroll a grid, ... to put the active row in a certain position in the visible area? ... > Say for instance, with a grid that has 10 rows showing, to make the active ... > Setting relativerow would work great, ...
    (microsoft.public.fox.programmer.exchange)
  • Pythagorean Quadruples in a 3d grid
    ... A Pythagorean Quadruple I believe can best ... be represented as a 3d map of a cubical grid ... Where h^2 becomes closer and closer to an integer. ...
    (sci.math)
  • Pythagorean Quadruples in a 3d grid
    ... A Pythagorean Quadruple I believe can best ... be represented as a 3d map of a cubical grid ... Where h^2 becomes closer and closer to an integer. ...
    (sci.math)
  • Re: Visible records
    ... But if a filter is set or an order, then I don't see a reasonable way. ... The grid does not disclose such secrets. ... If you scrolled vertically with the mouse, the active row can get out of the visible part of the grid! ... Bernhard Sander ...
    (microsoft.public.fox.programmer.exchange)