Alpha Video Training
Results 1 to 3 of 3

Thread: How can I run some Xbasic code when user clicks the X at top right to close a window

  1. #1
    Volunteer Moderator drgarytraub's Avatar
    Real Name
    Dr. Gary Traub
    Join Date
    May 2000
    Location
    Boca Raton, FL
    Posts
    2,783

    Default How can I run some Xbasic code when user clicks the X at top right to close a window

    When the user clicks the X at top right of a popup window to close it, can I then run some Xbasic code? If so, how?
    Gary S. Traub, Ph.D.


  2. #2
    "Certified" Alphaholic mikeallenbrown's Avatar
    Real Name
    Mike Brown
    Join Date
    Nov 2009
    Location
    United States
    Posts
    1,879

    Default Re: How can I run some Xbasic code when user clicks the X at top right to close a window

    Use the onHide event to make the callback.
    Mike Brown - Contact Me
    Programmatic Technologies, LLC
    Programmatic-Technologies.com
    Independent Developer & Consultant

  3. #3
    Volunteer Moderator drgarytraub's Avatar
    Real Name
    Dr. Gary Traub
    Join Date
    May 2000
    Location
    Boca Raton, FL
    Posts
    2,783

    Default Re: How can I run some Xbasic code when user clicks the X at top right to close a window

    Hi Mike,

    That did the trick. Thanks!
    Gary S. Traub, Ph.D.


Similar Threads

  1. How to add a 'waiting' message to a UX component when user clicks submit
    By Mike Reed in forum Mobile & Browser Applications
    Replies: 6
    Last Post: 07-03-2018, 05:59 PM
  2. Grid column hide/show when user clicks on checkbox
    By Narayan in forum Mobile & Browser Applications
    Replies: 6
    Last Post: 01-13-2017, 03:13 AM
  3. What is xbasic code for close current window?
    By jennygong in forum Application Server Version 11 - Web/Browser Applications
    Replies: 3
    Last Post: 10-30-2013, 05:53 PM
  4. Xbasic code for Alpha's Email Cient Window
    By Ant-Tech in forum Alpha Five Version 10 - Desktop Applications
    Replies: 22
    Last Post: 12-09-2011, 08:51 AM
  5. Need 2 clicks to close XDialog??
    By Scott Emerick in forum Alpha Five Version 5
    Replies: 7
    Last Post: 06-18-2003, 06:30 AM

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
  •