1
1
Fork 0
mirror of https://github.com/FellippeHeitor/InForm.git synced 2025-01-15 11:59:34 +00:00

Load images when importing .frm files

Addresses issue #5.
This commit is contained in:
Fellippe Heitor 2018-02-21 13:51:37 -03:00 committed by GitHub
parent 9b140307fa
commit 3d5956f13d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1359,6 +1359,11 @@ SUB LoadPreviewText
DummyText$ = nextParameter(b$) 'discard first parameter
DummyText$ = nextParameter(b$)
AddItem TempValue, DummyText$
ELSEIF LEFT$(b$, 10) = "LoadImage " THEN
'Image
DummyText$ = nextParameter(b$) 'discard first parameter
DummyText$ = nextParameter(b$)
LoadImage Control(TempValue), DummyText$
ELSEIF LEFT$(b$, 22) = "ToolTip(__UI_NewID) = " THEN
'Tooltip
DummyText$ = MID$(b$, INSTR(b$, " = ") + 3)