Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Prevent Clicking on a Row
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Prevent Clicking on a Row

 Post Reply Post Reply
Author
Message
jcollier View Drop Down
Senior Member
Senior Member


Joined: 15 February 2006
Status: Offline
Points: 250
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcollier Quote  Post ReplyReply Direct Link To This Post Topic: Prevent Clicking on a Row
    Posted: 20 February 2006 at 4:27pm
Hi,

What I would like to do is make certain rows of the grid unclickable programatically depending on what a user previously clicked.

Any idea how to do this?

Thanks
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 22 February 2006 at 6:31am
Hi,

What do you mean by unclickable? Not selectable? Not focusable? Something else?

--
WBR,
Serge
Back to Top
jcollier View Drop Down
Senior Member
Senior Member


Joined: 15 February 2006
Status: Offline
Points: 250
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcollier Quote  Post ReplyReply Direct Link To This Post Posted: 22 February 2006 at 8:48am
Serge,

All of the above.  Preferably grayed out but just ignoring a double click would do.  Exactly the same as an .enabled property.

thanks
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 23 February 2006 at 9:29am
General idea is following: handle change selection event and remember the last selection. If a new one is not good -- restore selection to a previous state. The same for currently focused row.

--
WBR,
Serge
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.