home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 2
/
goldfish_vol2_cd1.bin
/
files
/
util
/
libs
/
reqtools
/
rexxreqtools
/
examples
/
fontreq.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-07-06
|
667b
|
21 lines
/* FontReq.rexx
* Demonstrates the fontrequester
*
* NOTE: `,' is a continuation character for statements that must be entered
* on several source lines!!
*/
call addlib("rexxreqtools.library", 0, -30, 0)
call rtfontrequest('Pick font',,'rtfo_flags = freqf_style',font)
if font then
do
text = 'You picked' font.name 'size' font.height
if font.bold then text = text || '0A'x || 'You selected bold'
if font.italic then text = text || '0A'x || 'You selected italic'
if font.underlined then text = text || '0A'x || 'You selected underlined'
call rtezrequest(text,'Right')
end
else
call rtezrequest('You picked no font',"I'm sorry")