.


:




:

































 

 

 

 


FontDialog




 

FontDialog.

FontDialog , , (), .

Font TFont, , .

MaxFontSize MinFontSize . , .

Device , : fdScreen ( ), fdPrinter , fdBoth .

Options , :

 

fdAnsiOnly Windows,
fdApplyButton , OnApply
fdEffects ( .)
fdFixedPitchOnly -
fdForceFontExist ,
fdLimitSize MaxFontSizeMin-FontSize,
fdNoFaceSel -
fdScalableOnly , ( bitmap)
fdNoSizeSel -
fdNoStyleSel -
fdWysiwyg , -, ,

 

, fdEffects, .

fdApplyButton, OnApply, , , .

 

FontDialog.

1. . FONTDIALOG MainMenu1, Memo1, RichEdit1, FontDialog1, FontDialog2, FontDialog3.

2. _M, _R, _F.

3. _M

if(FontDialog1->Execute())

Memo1->Font->Assign(FontDialog1->Font);

, , , FontDialog1->Font, , Memo1->Font. Memo1 . , .

4. FontDialog1 fdApplyButton true OnApply:

Memo1->Font->Assign(FontDialog1->Font);

. Memo1, . , .

5. RichEdit1. . _R:

if(FontDialog2->Execute())

RichEdit1->SelAttributes->Assign(FontDialog2->Font);

.

6. , . _F:

if(FontDialog3->Execute())

Font->Assign(FontDialog3->Font);

Font .

.

 





:


: 2015-10-01; !; : 730 |


:

:

, .
==> ...

1754 - | 1561 -


© 2015-2024 lektsii.org - -

: 0.011 .