[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 170
  • Last Modified:

Diferent program(exe) behaviur if i start it from desctop

in memo1 properties: lines string list editor
 to cancel the defolt first line:memo1.

and if i start application from Delphi it works,
but i have  copied it to desktop and if i start program from there text memo1 line remains in memo1 .


I had a older version of my exe program on the PC and i deleted it.
0
pr2501
Asked:
pr2501
1 Solution
 
ziolkoCommented:
try this:

procedure TForm1.FormCreate(Sender: TObject);
begin
  Memo1.Lines.Clear;
end;


ziolko.
0
 
rfwoolfCommented:
Compile the application (Usually Ctrl + F9), which will generate your application.exe and make sure that's the one you're trying to open on the desktop.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now