Alpha Video Training
Results 1 to 4 of 4

Thread: Finger Trouble !!

  1. #1
    Member Graham Wickens's Avatar
    Real Name
    Graham Wickens
    Join Date
    Apr 2000
    Gloucestershire, UK

    Default Finger Trouble !!

    I run this bit of code quite a lot. It works fine unless I accidentally double click on the file name displayed, in which case the script ends because vResult is not set. Is there a way of trapping this double click ?
    vResult = ui_dlg_box("",<<%dlg%
    {'%O={F=Arial,16}{C=Dark Teal}{B=Blue White}Input File Name%};
    | [%p=ui_get_file("",def_dir-"*.txt",Input_filename,"");I=$a5_smart_file%.70Input_filename];
    <*6OK!OK> <8Cancel!CANCEL>
    Support your local Search and Rescue Unit, Get Lost!

  2. #2
    "Certified" Alphaholic MoGrace's Avatar
    Real Name
    Join Date
    Mar 2006
    Los Angeles

    Default Re: Finger Trouble !!

    I found trapping double click events at the Wiki

    Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

  3. #3
    "Certified" Alphaholic Ted Giles's Avatar
    Real Name
    Ted Giles
    Join Date
    Aug 2000
    In the Wolds, Louth, Lincolnshire, UK

    Default Re: Finger Trouble !!

    Can't you test for a value in the Var?
    Ted Giles
    Example Consulting - UK
    See our site for Alpha Support, Conversion and Upgrade.

  4. #4
    "Certified" Alphaholic Mike Wilson's Avatar
    Real Name
    mike wilson
    Join Date
    Apr 2005
    Grand Rapids, Michigan

    Default Re: Finger Trouble !!

    Hi Graham,
    There is no dialog event for the Input_filename so I see nothing that would happen when that field value is "clicked" or "double clicked". I must be misunderstanding what you are saying.
    Mike W
    "I rebel in at least small things to express to the world that I have not completely surrendered"

Similar Threads

  1. Storing finger print via mobile
    By aal_fareed in forum Mobile & Browser Applications
    Replies: 2
    Last Post: 04-16-2019, 02:48 PM
  2. I think I'm in trouble?
    By A4BEST in forum Alpha Five Version 6
    Replies: 3
    Last Post: 11-07-2005, 09:43 PM
  3. Serious trouble here
    By Curtis Nunn in forum Alpha Five Version 5
    Replies: 3
    Last Post: 06-03-2004, 08:07 AM
  4. PDF trouble
    By Tom Patten in forum Alpha Five Version 5
    Replies: 26
    Last Post: 11-18-2002, 05:37 PM
  5. Trouble with a set
    By Pasquale D'Orsi in forum Alpha Five Version 5
    Replies: 6
    Last Post: 10-24-2002, 01:59 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts