Results 1 to 3 of 3

Thread: Text Box - Change Editable Delegate

  1. #1
    Senior Member
    Join Date
    Jan 2016
    Posts
    160

    Text Box - Change Editable Delegate

    I have a section with several text boxes set to editable = false. I want to make them editable with a command button. I thought the code below would work, but does not.

    Lianja.get("Start_Page.section").editable = .T.
    Lianja.get("Start_Page").refresh()

    Is it possible to make all the textboxes in a section editable with one command or do I have to list each one out in code?

  2. #2
    Senior Member
    Join Date
    Jan 2016
    Posts
    160
    Well, I think I figured out a something that worked, I have to make sure the textbox is set to editable in the delegates and then use .readonly instead.

  3. #3
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,162
    Blog Entries
    22
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us