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
    Location
    Gloucestershire, UK
    Posts
    745

    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 ?
    Code:
    vResult = ui_dlg_box("",<<%dlg%
    {'%O={F=Arial,16}{C=Dark Teal}{B=Blue White}Input File Name%};
    {Background=#234+234+255}
    {close_on_leave}
    {frame=1,2}
    {region}
    | [%p=ui_get_file("",def_dir-"*.txt",Input_filename,"");I=$a5_smart_file%.70Input_filename];
    {endregion};
    {line=1,0};
    {region}
    <*6OK!OK> <8Cancel!CANCEL>
    {endregion};
    %dlg%)
    showvar(vResult)
    Thanks
    --
    Support your local Search and Rescue Unit, Get Lost!

    www.westrowops.co.uk

  2. #2
    "Certified" Alphaholic MoGrace's Avatar
    Real Name
    Robin
    Join Date
    Mar 2006
    Location
    Los Angeles
    Posts
    3,623

    Default Re: Finger Trouble !!

    I found trapping double click events at the Wiki
    Robin

    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
    Location
    In the Wolds, Louth, Lincolnshire, UK
    Posts
    4,315

    Default Re: Finger Trouble !!

    Can't you test for a value in the Var?
    Ted Giles
    Example Consulting - UK
    .

    http://ec12.example-software.com//
    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
    Location
    Grand Rapids, Michigan
    Posts
    4,183

    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, 01:48 PM
  2. I think I'm in trouble?
    By A4BEST in forum Alpha Five Version 6
    Replies: 3
    Last Post: 11-07-2005, 08:43 PM
  3. Serious trouble here
    By Curtis Nunn in forum Alpha Five Version 5
    Replies: 3
    Last Post: 06-03-2004, 07:07 AM
  4. PDF trouble
    By Tom Patten in forum Alpha Five Version 5
    Replies: 26
    Last Post: 11-18-2002, 04:37 PM
  5. Trouble with a set
    By Pasquale D'Orsi in forum Alpha Five Version 5
    Replies: 6
    Last Post: 10-24-2002, 12:59 PM

Bookmarks

Posting Permissions

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