Alpha Video Training
Results 1 to 3 of 3

Thread: ui_get_text box and cancel?

  1. #1
    Jeff Moses
    Guest

    Default ui_get_text box and cancel?

    When using the ui_get_text box, what syntax can be used in the next line of x basic code to determine if the user pressed the Cancel button? When using a line of code such as:
    gid = ui_get_text("Group entry:","Enter What Group?")
    if the user presses cancel and makes no entry, the rest of the scripting will continue the same as if they had pressed OK.
    Thanks, Jeff

  2. #2
    "Certified" Alphaholic Stan Mathews's Avatar
    Real Name
    Stan Mathews
    Join Date
    Apr 2000
    Location
    Bowling Green, KY
    Posts
    25,119

    Default RE: ui_get_text box and cancel?

    I believe that the returned value will be empty, or "".

  3. #3
    Member
    Real Name
    Jack Wheeler
    Join Date
    Apr 2000
    Posts
    570

    Default RE: ui_get_text box and cancel?

    if gid="" then
    end
    end if

Similar Threads

  1. ui_get_text Not Working?
    By ChrisHawkes in forum Alpha Five Version 7
    Replies: 14
    Last Post: 11-01-2005, 05:21 AM
  2. toolbox and ui_get_text()
    By CALocklin in forum Alpha Five Version 6
    Replies: 6
    Last Post: 10-05-2004, 03:50 PM
  3. Cancel Changes
    By dcorcoran in forum Alpha Five Version 5
    Replies: 1
    Last Post: 02-20-2004, 09:58 PM
  4. sys_open used with ui_get_text
    By Jean-P. B├ędard in forum Alpha Five Version 4
    Replies: 10
    Last Post: 01-30-2002, 09:58 AM
  5. ui_get_text in a report?
    By Sandy Garrett in forum Alpha Five Version 4
    Replies: 8
    Last Post: 05-12-2000, 09:05 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
  •