lock editing while viewing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • harryvb
    New Member
    • Aug 2007
    • 1

    lock editing while viewing

    hey guys i am coding for an accounting s/w in visual basic
    i am able to edit the data while viewing
    how do i disable editing the data while viewing
  • Taftheman
    New Member
    • Nov 2006
    • 93

    #2
    Originally posted by harryvb
    hey guys i am coding for an accounting s/w in visual basic
    i am able to edit the data while viewing
    how do i disable editing the data while viewing
    hi can you give more info on what are are doing such as where is the info shown eg. a grid, textboxes, list box

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      Originally posted by Taftheman
      hi can you give more info on what are are doing such as where is the info shown eg. a grid, textboxes, list box
      Yes, and also the version of VB you are using.

      Any more detail you can provide is likely to be helpful. For example, are you talking about locking database records, or just preventing the user from editing fields on the screen, or what?

      (Quick tip - if you're dealing with a textbox, in VB6 at least, setting the Locked property to True will allow the user to scroll, select, copy as usual but they can't change the contents.)

      Comment

      Working...