Announcement

Collapse
No announcement yet.

Listbox and default viewer

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

  • #16
    "ww" ~= "w w"
    ------------------------------------------
    on show
    Code:
    result = Folder.DoesExist("AutoPlay\\Docs\\Archive");
    if result~=false then
       find = File.Find(_SourceFolder.."\\AutoPlay\\Docs\\Archive\\", "*.pdf", false, false, nil, nil);
       if find~=nil then
         for i,d in pairs(find)do
        [COLOR="red"] k=  File.GetShortName(d);[/COLOR]
           s = String.SplitPath(d);
           ListBox.AddItem("ListBox1", s.Filename, k);
         end
       end
    end

    Comment


    • #17
      Originally posted by sidiamur View Post
      "ww" ~= "w w"
      ------------------------------------------
      on show
      Code:
      result = Folder.DoesExist("AutoPlay\\Docs\\Archive");
      if result~=false then
         find = File.Find(_SourceFolder.."\\AutoPlay\\Docs\\Archive\\", "*.pdf", false, false, nil, nil);
         if find~=nil then
           for i,d in pairs(find)do
          [COLOR="red"] k=  File.GetShortName(d);[/COLOR]
             s = String.SplitPath(d);
             ListBox.AddItem("ListBox1", s.Filename, k);
           end
         end
      end
      Very Good :yes

      Comment


      • #18
        Very Good???
        Oh no my friend, it is simply perfect, at least for my needs.
        Thank you very much for your time.

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎