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

getting selected image name ???

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

  • getting selected image name ???

    hi, Im confused

    I have lots of photos showed in "Large_Image"....
    so when I click one of my photo, it is showed in "Large_Image"
    AND I want to take selected image name .

    so what I want is =

    in button click:
    PHP Code:
    "name of loaded image in "Large_Image" "
    Image.Load("Large_Image""Autoplay//Images//X.jpg"

    (loaded image in "Large_Image" and X.jpg are diffrent photos)

  • #2
    Check the help on Image, that may explain it better.
    Image.GetProperties() - There is a lot of information obtained about the Image, one of which is the name.

    PHP Code:
    tProperties Image.GetProperties("Large_Image");
    x=tProperties.ImageFile;
    Dialog.Message("Name: """..x
    hth

    Comment


    • #3
      thanks..
      and now I found a different way for my purpose...
      "using the code that you give one of previous posts"

      PHP Code:
      iProps Image.GetProperties("Large_Image1")
      uzunluk String.Length(iProps.ImageFile) - String.ReverseFind(iProps.ImageFile"\\"true);
      title String.Right(iProps.ImageFileuzunluk );
      tek String.Left(""..title ,uzunluk );
      tek..".jpg"
      Input.SetText("Input1"""..A);

      Image.Load("Large_Image1""AutoPlay\\Images\\"..A); 
      so I could load labelled images easily...(only deleting last letter)

      Comment

      Working...
      X