Zihin Geliştirme Merkezi

KOOLPA

Zihin Geliştirme Merkezi

 

Basit bir Word örneği

 Programlama Katagorisinde ve  Delphi Forumunda Bulunan  Basit bir Word örneği Konusunu Görüntülemektesiniz.=>procedure TForm1.bold1Click(Sender: TObject); begin bold1.Checked:=not bold1.Checked; if bold1.Checked then memo1.Font.Style:=memo1.font.Style+[fsbold] else memo1.Font.Style:=memo1.font.Style-[fsbold] end; procedure TForm1.italic1Click(Sender: TObject); begin italic1.Checked:=not italic1.Checked; if ...


Geri git   Zihin Geliştirme Merkezi > KooLpa Webmaster / Grafik / Programlama > Programlama > Delphi

Üye ol Bloglar Yardım Üye Listesi Ajanda Forumları Okundu Kabul Et

Cevapla

 

LinkBack Seçenekler Stil
Alt 28-02-2007, 23:10   #1 (permalink)
KoooLpa
 
[MasterSlawe] - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Dec 2006
Nerden: Aklımın Odaları
Mesajlar: 771
Tecrübe Puanı: 4 [MasterSlawe] will become famous soon enough
Standart Basit bir Word örneği


procedure TForm1.bold1Click(Sender: TObject);
begin
bold1.Checked:=not bold1.Checked;
if bold1.Checked then
memo1.Font.Style:=memo1.font.Style+[fsbold]
else
memo1.Font.Style:=memo1.font.Style-[fsbold]
end;

procedure TForm1.italic1Click(Sender: TObject);
begin
italic1.Checked:=not italic1.Checked;
if italic1.Checked then
memo1.Font.Style:=memo1.font.Style+[fsitalic]
else
memo1.Font.Style:=memo1.font.Style-[fsitalic]
end;

procedure TForm1.altizili1Click(Sender: TObject);
begin
altizili1.Checked:=not altizili1.Checked;
if altizili1.Checked then
memo1.Font.Style:=memo1.font.Style+[fsunderline]
else
memo1.Font.Style:=memo1.font.Style-[fsunderline]
end;

procedure TForm1.sa1Click(Sender: TObject);
begin
sa1.Checked:=not sa1.Checked;
memo1.Alignment:=tarightjustify;
end;

procedure TForm1.sol1Click(Sender: TObject);
begin
sol1.Checked:=not sol1.Checked;
memo1.Alignment:=taleftjustify;
end;

procedure TForm1.orta1Click(Sender: TObject);
begin
orta1.Checked:=not orta1.Checked;
memo1.Alignment:=tacenter;
end;

procedure TForm1.SpeedButton1Click(Sender: TObject);
begin
if speedbutton1.Down then
memo1.Font.Style:=memo1.Font.Style+[fsbold]
else
memo1.Font.Style:=memo1.Font.Style-[fsbold];

end;

procedure TForm1.SpeedButton2Click(Sender: TObject);
begin
if speedbutton2.Down then
memo1.Font.Style:=memo1.Font.Style+[fsitalic]
else
memo1.Font.Style:=memo1.Font.Style-[fsitalic];

end;

procedure TForm1.SpeedButton3Click(Sender: TObject);
begin
if speedbutton3.Down then
memo1.Font.Style:=memo1.Font.Style+[fsunderline]
else
memo1.Font.Style:=memo1.Font.Style-[fsunderline];

end;

procedure TForm1.SpeedButton4Click(Sender: TObject);
begin
memo1.Alignment:=tarightjustify;
end;

procedure TForm1.SpeedButton5Click(Sender: TObject);
begin
memo1.Alignment:=tacenter;

end;

procedure TForm1.SpeedButton6Click(Sender: TObject);
begin
memo1.Alignment:=taleftjustify;
end;

procedure TForm1.FormCreate(Sender: TObject);
var
i:byte;
begin
combobox1.Items:=screen.Fonts;
for i:=8 to 30 do
combobox2.Items.Add(inttostr(i));

combobox1.Text:=memo1.Font.Name;
combobox2.Text:=inttostr(memo1.Font.size);
end;

procedure TForm1.ComboBox1Change(Sender: TObject);
begin
memo1.Font.Name:=combobox1.Text;
end;

procedure TForm1.ComboBox2Change(Sender: TObject);
begin
memo1.Font.Size:=strtoint(combobox2.text);
end;
end.
[MasterSlawe] isimli üyemiz çevrimdışıdır. (Offline)  
Digg this Post!Add Post to del.icio.usStumble this Post!Reddit!Google Bookmark this Post!Live Bookmark this Post!Propeller this post!
Alıntı ile Cevapla

Sponsor Linkler
Cevapla


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)

 
Seçenekler
Stil

Yetkileriniz
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık

Benzer Konular

Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
Word Belgelerini PDF'e Dönüştürmek elifsu Ms Office 2 27-08-2007 18:08
word ile neler yapabilir? KöTü KeDi ŞeRaFeTTiN Komik Yazılar 0 28-05-2007 22:01
Word Excell lonelywolf_61 Photoshop / Flash 1 13-03-2007 23:08
İlginç WORD OLAYI elifsu Off-Topic 1 23-02-2007 14:10
Word ile 10 Dakikada Web Sitesi Hazırlayın metallica Webmaster Genel 0 07-12-2006 22:09


Bütün Zaman Ayarları WEZ +3 olarak düzenlenmiştir. Şu Anki Saat: 12:49 .


Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

Gizlilik Politikası | KooLpa üyeleri onay gerektirmeksizin mesaj yazabilmektedir. KooLpa' da yasalara aykırı unsurlar bulursanız buraya yazınız. En kısa zamanda gereği yapılacaktır.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208