how to display file properties when pointing to it?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ismee
    Forum Member
    • Jan 2008
    • 4

    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?
  • nicoh
    Forum Member
    • May 2007
    • 52

    #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