AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

TIdIRC [Indy] Problem

Ein Thema von Toenn · begonnen am 20. Feb 2005 · letzter Beitrag vom 21. Feb 2005
 
Toenn

Registriert seit: 4. Okt 2003
Ort: Düsseldorf Beiträge: 10000
114 Beiträge
 
#9

Re: TIdIRC [Indy] Problem

  Alt 21. Feb 2005, 13:43
hm warum geht das nich´?

Delphi-Quellcode:
procedure TForm1.IdIRC1Topic(Sender: TObject; AUser: TIdIRCUser;
  AChannel: TIdIRCChannel; const AChanName, ATopic: String);
var topicini: TIniFile;
var i: Integer;
begin
if CheckBox2.Checked then begin
for i := 0 to NumTok(Form2.LabeledEdit4.Text, ' ') do
 begin
   if Auser.Nick = GetTok(Form2.LabeledEdit4.Text, i, ' ') then begin
   Edit2.Text := ATopic;
   topicini := TIniFile.Create(ExtractFilePath(Application.ExeName) + 'settings.ini');
   topicini.WriteString('Channel', 'Topic', Edit2.Text);
   topicini.Free;
   IdIRC1.Say(Label2.Caption, 'Topicsave active.');
 end else begin
   IdIRC1.SetTopic(Label2.Caption, Edit2.Text);
   IdIRC1.Say(Label2.Caption, 'You are not allowed to change the Topic.');
end;
end;
end;
end;
danke,
toenn
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:27 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz