Listfield Questions

Sannyasin Brahmanathaswami brahma at hindu.org
Mon Jun 18 10:22:50 EDT 2018


More ideas/solution. 

 ON arrowkey
  send postImage to me in 0 seconds
  pass arrowkey
END arrowkey


ON postImage
  put the hilitedline of fld "FileList" into gLastLine 
  put the hilitedtext of fld "FileList"into fld "currentImage"
  showPhoto (the hilitedtext of fld "FileList") 
END postImage


ON  mouseUp #in case you want to options
   IF (the hilite of btn "Reorder") THEN 
      put word 2 of the clickline into gCapWriterLastLineHandled
   end if
   IF the optionkey = "down" THEN 
      answer "Are you sure you want to delete" && the clicktext & "?" with "delete" and "no"
      if it is "no" then
         exit to top
      end if
      delete file (gCurrentSlideShowFolder& the clicktext)
      delete file (gCurrentSlideShowFolder & "/thumb/" & the clicktext)
      buildList gCurrentSlideShowFolder
      exit MouseUp
   END IF
   put the hilitedline of me into gLastLine
   showPhoto the clicktext
END mouseup



Brahmanathaswami
 

On 6/15/18, 6:31 PM, "use-livecode on behalf of Charles Szasz via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:

    Thanks Richard for your help. Unfortunately, using keyboard arrow keys may hilite a line but it does not put a value associated with the line into an input field.  
    
    



More information about the use-livecode mailing list