Andromo - Start Making Apps - Free Signup

Announcement

Collapse
No announcement yet.

Application.SetRedraw() + fObj.SetVisible Bug ?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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. :lol ~

    v8.0.7.0

  • #2
    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

    Comment


    • #3
      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

      Comment


      • #4
        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

        Comment

        Working...
        X