Files

24 lines
1.0 KiB
Plaintext

function splash_html()
-- considerchanging image for different devices
# return "<div style=\"position: absolute; left: 10%; top: 0%; height: 80%; width: 80% \"><img src=\"splash.png\" height=\"100%\" width=\"100%\" onclick=\"execAction('splash','')\" /></div>"
return "<div style=\"position: absolute; left: 10%; top: 0%; height: 80%; width: 90% \"><img src=\"splash.png\" onclick=\"execAction('splash','')\" /></div>"
end FUNCTION
function show_message(l_message_text, l_acknowledge)
define l_message_text string
define l_acknowledge boolean
if l_acknowledge then
if l_message_text.getlength() > 0 then
#call fgl_winmessage("Info", l_message_text,"info")
menu "Info" attributes(style="dialog", comment=l_message_text)
on action accept
exit menu
end menu
end if
else
message l_message_text
call ui.Interface.refresh() -- force display to current window
end if
end function