Jump to content

Change DBGrid rows on the fly


stiaan

Recommended Posts

Hi

 

is it possible to change the DBGrid row colors (or highlight the row) on the fly. What I'm trying to do is to show what entries are viewed by others users on the DBGrid by highlighting the row. For example: If the entry is viewed by another user, then i want to "highlight" that specific DBGrid row on all connecting clients.

 

regards

Stiaan

Link to comment
Share on other sites

Hi

 

is it possible to change the DBGrid row colors (or highlight the row) on the fly. What I'm trying to do is to show what entries are viewed by others users on the DBGrid by highlighting the row. For example: If the entry is viewed by another user, then i want to "highlight" that specific DBGrid row on all connecting clients.

 

regards

Stiaan

. What I'm trying to do is to show what entries are viewed by others users on the DBGrid by highlighting the row. For example: If the entry is viewed by another user,

Hello Might you explain how you do this, know that they are watching another user registry

Link to comment
Share on other sites

Hi

 

It is very simple to know what entries are being viewed on the DBGrid by various users. I do it by saving a file with the SESSIONID=<DataSet Index>. So everytime a user clicks on a new line on the DBgrid, it reads the file, see what other sessions are viewing the same entry and then display accordingly. If the clicked entry is not being viewed by another user, I then update the file. (The trick comes in to clean out old sessions.)

 

Stiaan

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...