奇怪的问题,字体控件FontDialog中的数据如何显示和保存??
Cbfan 2002-04-08 08:59:30 if(FontDialog1->Execute())
{
Label1->Caption=FontDialog1->Font->Name;
Label1->Font->Charset=FontDialog1->Font->Charset;
Label1->Font->Color=FontDialog1->Font->Color;
Label1->Font->Style=FontDialog1->Font->Style;
}
Edit1->Text=Label1->Font->Charset;
Edit2->Text=Label1->Font->Color;
------------------------------------------------------
执行,我选择了Western编码;绿色字体;
Edit1~2分别显示:1,32768。
我想让它显示:Western;clGreen; 如何实现?????谢谢。