AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren

Problem with opening .res file

Ein Thema von delphi_goldy · begonnen am 7. Mär 2005 · letzter Beitrag vom 7. Mär 2005
 
rantanplan99
(Gast)

n/a Beiträge
 
#2

Re: Problem with opening .res file

  Alt 7. Mär 2005, 10:09
Hi,

some rules first: open up a new thread for every problem you have. don't put 2 different problems in the same thread.
second: please use the "Delphi-Code" Tags for sourcecode.

for problem #2: you have to put a semicolon ; at the end of the line, like this
Edit1.SetFocus; you can omit the semicolon if its the last command in your code-block wich is terminated by an end; like this

Delphi-Quellcode:
procedure a;
begin
  Edit1.SetFocus
end;

or

procedure b;
var
  i: integer;
begin
  i := 0;
  if (i = 5) then begin
    Edit1.SetFocus
  end;
  i := 1;
end;

the following gives you an error:

procedure c;
begin
  Edit1.SetFocus
  ShowMessage('MessageBox')
end;
maybe in your delphi book, the Edit1.SetFocus Command was followed by an end;

rantanplan
  Mit Zitat antworten Zitat
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

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 22:09 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