Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2011
    Posts
    61

    Application.SetRedraw() + fObj.SetVisible Bug ?

    I just made a small script to check object and invisible it (Input and Checkbox) in main progress

    PHP Code:
    Application.SetRedraw(false);
    for 
    i,v in pairs(Page.EnumerateObjects()) do
        if 
    Page.GetObjectType(v) == OBJECT_INPUT then    
            
    if Input.IsVisible(vthen Input.SetVisible(v,false); end
        end
    --]]
        if 
    Page.GetObjectType(v) == OBJECT_CHECKBOX then
            
    if CheckBox.IsVisible(vthen CheckBox.SetVisible(v,false); end
        end
    --]]
    end
    Application
    .SetRedraw(true); 
    And after complete, the input is not invisible. Also, when check the visible, it's invisible (return false).

    But when remove "Application.SetRedraw(false);" in top of script, the input is invisible. ~

    v8.0.7.0

  2. #2
    Join Date
    May 2006
    Posts
    5,557
    Confirmed, Its a bug for sure, even if i add a "Page.Redraw" it does not hide the checkboxes
    Embrace change in your life, you never know, it could all work out for the best

  3. #3
    Join Date
    Apr 2011
    Posts
    61
    So, i try test with size of input and i know (maybe, im not sure): when size width of input ~ size of page, its not hide after use draw(true). but when width is small than, its hide ~
    Just now, i must call Draw(true) before call SetVisible

  4. #4
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,856
    We'll take a look at the issue you described.
    REF: AMS-557
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

Posting Permissions

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