Andromo - Start Making Apps - Free Signup

Announcement

Collapse

New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

how to display file properties when pointing to it?

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

  • how to display file properties when pointing to it?

    when user use cursor pointing the icon/button (not clicking)
    it will display a small dialog to display the properties ,just like windows do.
    "Size:1MB,name:1.txt"

    how to do it?

  • #2
    You can use the OnMouseOver propiety.

    Then, in the button OnMouseOver label you enter:

    Code:
    Image.SetVisible("Image1", true);
    and on OnMouseOver

    PHP Code:
    Image.SetVisible("Image1"false); 
    Also you must put on the page's OnPreload label:

    Code:
    Image.SetVisible("Image1", true);
    PD: Image1 must have the propieties of the file


    That is the short way, you also can make this with a TextLabel or a Paragraph, getting the propierties with some like "File.GetSize" and using the same visibility propierties like the image..

    PD2: Apologize for my english :S

    Comment

    Working...
    X