Results 1 to 4 of 4

Thread: Custom sections can now use VFP-style BROWSE

  1. #1
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22

    Custom sections can now use VFP-style BROWSE

    In beta7 we have added the ability to specify a BROWSE command that will be rendered in a custom section. You specify the command in the "Attributes" dialog for the custom section. e.g.

    Code:
    BROWSE NOEDIT KEY customers.custid FIELDS date=date(),currencycode:H="Code",name
    
    Note how you can use the KEY clause. This can be used to cause the BROWSE grid to change dynamically as data in the parent of the custom section changes.

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22
    Here is an example in the Lianja blog.
    http://www.lianja.com/resources/blog...ustom-sections

  3. #3
    Very handy quick feature. Would there be a way to enable editing of just one selected field? Also, if this browse statement feature could be replicated for use with a grid in a canvas, it would be excellent as well.
    Last edited by Jeff_Stone; 2013-05-09 at 16:36.

  4. #4
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,842
    Hi Jeff,

    You can use the ':R' option on any fields in the Browse you want to be Readonly. In my screenshot below, this means only the southwind!products.discontinued field is editable.

    Name:  browse_in_custom_vfp_section.jpg
Views: 474
Size:  96.0 KB

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