GARANTIR DESCONTO

Fórum botão alterar do componente fontdialog #352040

18/01/2008

0

aew pessoal blz...
eu preciso fazer o botão alterar do componente fontdialog...
valeu...


Felipe_b350

Felipe_b350

Responder

Posts

20/01/2008

Dbergkamps10

Olá,
No componente FontDialog não vi nenhum botão alterar. :roll:
Se o q vc quer é alterar a fonte tente assim;


procedure TForm1l.FormShow(Sender: TObject);
begin
ComboBox1.Items:=Screen.Fonts; // colocando todas as fontes num Combo
end;


procedure TForm1.Button1Click(Sender: TObject);
begin
Label1.Font.Name:=ComboBox1.Items[(Combobox1.itemindex)]; // alterando a fonte do label.;
end;


Espero ter ajudado.

Att
Dalton


Responder

Gostei + 0

21/01/2008

Felipe_b350

valeu..


Responder

Gostei + 0

Utilizamos cookies para fornecer uma melhor experiência para nossos usuários, consulte nossa política de privacidade.

Aceitar