mirror of
https://github.com/FellippeHeitor/InForm.git
synced 2025-01-14 19:49:33 +00:00
Asks before including the GIF extension when adding an animated GIF.
This commit is contained in:
parent
c796991f34
commit
80a50fb01a
1 changed files with 8 additions and 1 deletions
|
@ -3753,7 +3753,14 @@ SUB LoadPreview
|
|||
IF LoadedWithGifExtension = 1 THEN LoadedWithGifExtension = False
|
||||
IF PrevTotalGifLoaded <> TotalGifLoaded THEN
|
||||
IF PrevTotalGifLoaded = 0 THEN
|
||||
Control(AddGifExtensionToggle).Value = True
|
||||
Answer = MessageBox("You loaded an animated GIF file.\nDo you want to include the GIF extension?", "", MsgBox_YesNo + MsgBox_Question)
|
||||
IF Answer = MsgBox_Yes THEN
|
||||
Control(AddGifExtensionToggle).Value = True
|
||||
ELSE
|
||||
b$ = "PAUSEALLGIF>" + "<END>"
|
||||
Send Client, b$
|
||||
Control(AddGifExtensionToggle).Value = False
|
||||
END IF
|
||||
END IF
|
||||
PrevTotalGifLoaded = TotalGifLoaded
|
||||
END IF
|
||||
|
|
Loading…
Reference in a new issue