Show TOC Welcome to the QLIB 1.0 Online Reference
QLIB 

QBox Example

In the example below a box is created. It gets filled by HTML code. For example of using content constructors refer to QWindow sample.
 
// define box resource
res = new QBoxRes(13, 13, 13, 13,
    "img/qlib/wtc.gif", "img/qlib/wtr.gif", "img/qlib/wmr.gif",
    "img/qlib/wbr.gif", "img/qlib/wbc.gif", "img/qlib/wbl.gif",
    "img/qlib/wml.gif", "img/qlib/wtl.gif",
    "#FFE831", "img/qlib/wbg.gif");

// create box
B = new QBox(null, "B", res, 50, 200, 150, 100,
    "<center><b>Hello, world!</b></center>");