• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X Scripting - Skill
  3. Confirm dialog problem before closing a form with 'X'

Stats

  • Replies 5
  • Subscribers 17
  • Views 2430
  • Members are here 0
More Content

Confirm dialog problem before closing a form with 'X'

Arthur Ke
Arthur Ke over 6 years ago

Hi all,

I create a non-block form by axlFormCreate().

I expect that when user click 'x' (right-top side of a form), a window popup and ask if need to save something.

But with my form action function like below, the axlUIYesNo window does not appear and i have no idea why.

procedure( MyFormAct(r_form)

case(r_form->doneState

(3

println("user press X to exit...")
confirm = axlUIYesNo("Do you want to save before exit?" "Test")
println(confirm)

)
(0 println("Do something."))

)

)

command print:
"user press X to exit..."
nil

BTW, SPB version is 17.2-2016 S034

  • Cancel
  • Sign in to reply
Parents
  • eDave
    eDave over 6 years ago

    This was fixed in s038

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Arthur Ke
    Arthur Ke over 6 years ago in reply to eDave

    Nice to know about that, many thanks for your instant reply.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Arthur Ke
    Arthur Ke over 6 years ago in reply to eDave

    Nice to know about that, many thanks for your instant reply.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information