Recent

Author Topic: [SOLVED] SaveDialog cancel button  (Read 248 times)

Pe3s

  • Full Member
  • ***
  • Posts: 248
[SOLVED] SaveDialog cancel button
« on: August 06, 2022, 05:17:27 pm »
Hello, I have a question, how can I detect closing the savedialog window or pressing the Cancel button.
« Last Edit: August 06, 2022, 06:18:44 pm by Pe3s »

Handoko

  • Hero Member
  • *****
  • Posts: 4712
  • My goal: build my own game engine using Lazarus
Re: SaveDialog cancel button
« Reply #1 on: August 06, 2022, 05:24:16 pm »
This is the wiki page for TSaveDialog:
https://wiki.lazarus.freepascal.org/Howto_Use_TSaveDialog

You need to add a not operator in the if statement.

Pe3s

  • Full Member
  • ***
  • Posts: 248
Re: SaveDialog cancel button
« Reply #2 on: August 06, 2022, 06:18:26 pm »
@Handoko Thank you  :)

 

TinyPortal © 2005-2018