htmlgump
Окно с html текстом.
Including Code
include ":gumps:htmlgump";
SendHTMLGump( mobile, title, text );
Отображает огромное окно с заголовком, текстом и кнопкой.
Parameters
Description
mobile
Mobile to send the gump to.
title
(string) - заголовок окна.
text
(string) - с возможностью использовать html разметку.
Text formatting
Formatting
Markdown version
Result
Bold
<b>bold</b>
bold
Italic
<i>italic</i>
italic
<BIG></BIG> <SMALL></SMALL> <EM></EM> <U></U>
<H1></H1> <H2></H2> <H3></H3> <H4></H4> <H5></H5> <H6></H6>
<a href=""></a> <div align="right"><div align="left"></div>
<left></left> <P> <CENTER></CENTER> <BR></BR>
<BASEFONT color=#ffffff size=1-7></BASEFONT>
Example
use uo;
use os;
include ":gumps:htmlgump";
program txtcmd_gumpstest( mobile )
var title := "Example";
var text := "It is a <b>long established fact</b> that a reader will be distracted by the readable content of a page when looking at its layout. <i>The point</i> of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using '<b>Content here, content here</b>', making it look like readable English.";
SendHTMLGump( mobile, title, text );
endprogram

Last updated
Was this helpful?