Alpha Video Training
Results 1 to 2 of 2

Thread: How to do a pop window

  1. #1
    Real Name
    Mike Reed
    Join Date
    Apr 2000
    Phoenix, AZ

    Default How to do a pop window

    Hi Again,
    Same customer but a different question for the grid question.

    In the attached grid, you will see where a name was selected, a date entered, a complex was selected, unit number entered and a code selected.
    After the code is selected it autofills the type, description, charge and pay so that the user can override them if necessary. What also needs to happen after the code is selected is for some xbasic to run on the server to do a search and and display a pop up if certain criteria exist.

    In the last column, there is a G Code - which is the complex ID number, a hypen, the unit number and the first letter of the "code". This Gcode is stored in the table. What my customer wants is a pop up to appear if there is a matching Gcode within the last 30 days. That needs to pop up after the user has selected the code (which is really a price code). The pop up needs to show the complex name, date, unit, code and description of any records that meet the 30 day criteria.

    Any thoughts how I could accomplish that.

    The second image shows an example of a xdialog box box that appears in the desktop they want the same thing in the web side.

    Mike Reed
    Phoenix, AZ

  2. #2
    VAR Pat Bremkamp's Avatar
    Real Name
    Pat Bremkamp
    Join Date
    Apr 2000
    Oregon, USA

    Default Re: How to do a pop window

    I haven't done it, but it looks like that's possible in V10.

    In the dropdown, click on the JavaScript property. One of the properties is "onSelect".

    So, if you are lucky, you can use Action Javascript to "Open a grid component". In the definition, you can pick a grid that you have created that shows the info you want, and add a base filter for the G-Code and date. The genie walks you right through it.

    Wow, V10 web really is like the desktop!

    Pat Bremkamp
    MindKicks Consulting

Similar Threads

  1. Pop Up Window Data Disappears
    By Dave McClain in forum Alpha Four Versions 7 and 8
    Replies: 7
    Last Post: 09-04-2007, 03:11 PM
    By Juanita in forum Alpha Four Versions 7 and 8
    Replies: 4
    Last Post: 02-07-2005, 03:40 AM
  3. pop up window
    By Rob Penney in forum Alpha Five Version 4
    Replies: 2
    Last Post: 11-04-2004, 10:43 PM
  4. GOTO Window pop up
    By Hilllo in forum Alpha Five Version 5
    Replies: 18
    Last Post: 08-05-2004, 07:37 AM
  5. Pop-up window
    By Ian Adam in forum Alpha Five Version 4
    Replies: 2
    Last Post: 04-06-2000, 11:14 AM


Posting Permissions

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