Get a Jumpstart with our Sample Apps
Results 1 to 2 of 2

Thread: Hide / un hide Browse

  1. #1
    Member
    Real Name
    Barry C.
    Join Date
    Oct 2006
    Posts
    10

    Default Hide / un hide Browse

    Hi,

    Trying to have a one to many browse hidden until a check box is checked on the parent.

    Should be able to use the "Specify browse by expression" in the browse properties right?
    I can get it to show a predefined defined browse when checked, but I can't figure out how not to show the default browse.

    ____________ saved browse
    If( checkbox=.T.,"Inv_child",browse1.hide()) Doesn't work.

    Hoping there's a simple solution.
    Thanks Much

  2. #2
    "Certified" Alphaholic Stan Mathews's Avatar
    Real Name
    Stan Mathews
    Join Date
    Apr 2000
    Location
    Bowling Green, KY
    Posts
    24,697

    Default Re: Hide / un hide Browse

    The trouble with your if() is that both of the possible choices must be of the same data type. One is character and the other is a code stmt.

    You probably should use a conditional object with the default browse on one pane (condition checkbox) and the saved browse on the other (condition .not. checkbox).
    There can be only one.

Similar Threads

  1. Read only grid does not hide columns when using "show/hide" expression
    By Corne in forum Mobile & Browser Applications
    Replies: 3
    Last Post: 11-07-2013, 06:13 PM
  2. Date Picker doesn't hide properly with Show/Hide
    By Larsman in forum Application Server Version 11 - Web/Browser Applications
    Replies: 4
    Last Post: 07-15-2012, 03:21 PM
  3. Hide Help Icon when expression is entered in show/hide property.
    By leetv in forum Application Server Version 10 - Web/Browser Applications
    Replies: 0
    Last Post: 05-31-2011, 01:26 PM
  4. Hide New Record in Browse
    By Quinlivan in forum Alpha Five Version 9 - Desktop Applications
    Replies: 3
    Last Post: 11-02-2009, 10:41 PM
  5. Search hide / Grid Hide
    By David Henderson in forum Alpha Five Version 6
    Replies: 5
    Last Post: 08-07-2004, 10:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •