Einzelnen Beitrag anzeigen

drama22

Registriert seit: 12. Jan 2013
88 Beiträge
 
#3

AW: Delphi and Text input

  Alt 31. Okt 2014, 23:07
Maybe if the text starts with
i think about that but iam stuck with coding i try somthing like that

Delphi-Quellcode:
if Length(Trim(textinput.Text)) < 33 then
  begin
Application.MessageBox('Thats not youtube link', 'Info!', mb_iconWarning);
  end else
  if AnsiStartsStr('http://youtube.com', textinput.Text) then
  begin
   Application.MessageBox('Thats not youtube link', 'Info!', mb_iconWarning);
  end
but i got Thats not youtube link all the way cant send

Geändert von drama22 (31. Okt 2014 um 23:22 Uhr)
  Mit Zitat antworten Zitat