2018-06-01 16:48:32 +00:00
|
|
|
': This form was generated by
|
2023-06-24 02:38:56 +00:00
|
|
|
': InForm - GUI library for QB64 - v1.5
|
|
|
|
': Fellippe Heitor, 2016-2023 - fellippe@qb64.org - @fellippeheitor
|
2018-06-01 16:48:32 +00:00
|
|
|
': https://github.com/FellippeHeitor/InForm
|
|
|
|
'-----------------------------------------------------------
|
2023-06-24 02:38:56 +00:00
|
|
|
|
2018-06-01 16:48:32 +00:00
|
|
|
SUB __UI_LoadForm
|
|
|
|
|
2023-06-24 02:38:56 +00:00
|
|
|
DIM __UI_NewID AS LONG, __UI_RegisterResult AS LONG
|
2018-06-01 16:48:32 +00:00
|
|
|
|
|
|
|
__UI_NewID = __UI_NewControl(__UI_Type_Form, "gifplaySample", 300, 281, 0, 0, 0)
|
2023-06-24 02:38:56 +00:00
|
|
|
__UI_RegisterResult = 0
|
2023-11-19 04:49:21 +00:00
|
|
|
SetCaption __UI_NewID, "GIFPlay Sample"
|
2018-06-01 16:48:32 +00:00
|
|
|
Control(__UI_NewID).Font = SetFont("arial.ttf", 12)
|
2023-06-24 02:38:56 +00:00
|
|
|
Control(__UI_NewID).HasBorder = False
|
2018-06-01 16:48:32 +00:00
|
|
|
|
|
|
|
__UI_NewID = __UI_NewControl(__UI_Type_PictureBox, "PictureBox1", 230, 230, 36, 12, 0)
|
2023-06-24 02:38:56 +00:00
|
|
|
__UI_RegisterResult = 0
|
2018-06-01 16:48:32 +00:00
|
|
|
Control(__UI_NewID).Stretch = True
|
|
|
|
Control(__UI_NewID).HasBorder = True
|
|
|
|
Control(__UI_NewID).Align = __UI_Center
|
|
|
|
Control(__UI_NewID).VAlign = __UI_Middle
|
2023-06-24 02:38:56 +00:00
|
|
|
Control(__UI_NewID).BorderSize = 1
|
2018-06-01 16:48:32 +00:00
|
|
|
|
|
|
|
__UI_NewID = __UI_NewControl(__UI_Type_Button, "LoadBT", 123, 23, 36, 247, 0)
|
2023-06-24 02:38:56 +00:00
|
|
|
__UI_RegisterResult = 0
|
2018-06-01 16:48:32 +00:00
|
|
|
SetCaption __UI_NewID, "Load globe.gif"
|
2023-06-24 02:38:56 +00:00
|
|
|
Control(__UI_NewID).HasBorder = False
|
2018-06-01 16:48:32 +00:00
|
|
|
Control(__UI_NewID).CanHaveFocus = True
|
|
|
|
|
|
|
|
__UI_NewID = __UI_NewControl(__UI_Type_Button, "PlayBT", 80, 23, 186, 247, 0)
|
2023-06-24 02:38:56 +00:00
|
|
|
__UI_RegisterResult = 0
|
2018-06-01 16:48:32 +00:00
|
|
|
SetCaption __UI_NewID, "Play"
|
2023-06-24 02:38:56 +00:00
|
|
|
Control(__UI_NewID).HasBorder = False
|
2018-06-01 16:48:32 +00:00
|
|
|
Control(__UI_NewID).CanHaveFocus = True
|
|
|
|
|
|
|
|
END SUB
|
|
|
|
|
|
|
|
SUB __UI_AssignIDs
|
|
|
|
gifplaySample = __UI_GetID("gifplaySample")
|
|
|
|
PictureBox1 = __UI_GetID("PictureBox1")
|
|
|
|
LoadBT = __UI_GetID("LoadBT")
|
|
|
|
PlayBT = __UI_GetID("PlayBT")
|
|
|
|
END SUB
|