How to Block Double Click on Browse List using Alert Key?

What I would try is:

  1. Look at your window structure and find the buttons that are used for “Insert”, “Change”, and “Delete”.
  2. Take note of the Field equate labels, such as ?ChangeButton, or ?Change, or ?InsertButton, or whatever they are called.
  3. In the browse template, take note of the label of your Browse object. E.G. “BRW1” or whatever it is called. I will call it “YourBrowseObject” in the example below, but you use your actual object name.
  4. In situations where you want to disable either Insert, Change, or Delete:
   YourBrowseObject.InsertControl = 0
   YourBrowseObject.ChangeControl = 0
   YourBrowseObject.DeleteControl = 0
  1. If you want to re-enable any of those features:
  YourBrowseObject.InsertControl = ?YourInsertButton
  YourBrowseObject.ChangeControl = ?YourChangeButton
  YourBrowseObject.DeleteControl = ?YourDeleteButton

It’s kind of hokey, but that should do what you want.

4 Likes