3. How
to create custom close dialog
- Create a button or menuitem
- Modify its event on Jigsaw Puzzles Creator Editor
- Choose Event : "Display HTML Form" then click
Parameter button
- Enter HTML filename for example"close.html" and
desired window size
- Create HTML file, save it in same directory with
project file and name it "close.html"
- Add a anchor tag <A> and modify HREF attribute
with a special tag.
For example :
- Link Quit with confirmation
dialog :
<a href=ACT_EXIT_APP>
- Link Quit without confimation
dialog :
<a href=ACT_EXIT_APP_NO_CONFIRM>
When this link identified with a modified HREF attribute
tag is clicked, application will quit.
|