|
From: Sanne S. <in...@sh...> - 2001-03-23 04:45:44
|
Hi all, Ok, I am fed up looking for a certain function so maybe you guys could help me out a little! :) I want to delete my program file (exe) from inside my program. How do I do this? It doesn't matter if the program should be exit for removal. for example. I have made a delphi app, with file name: project1.exe Well, I have just 1 form, and a button. When I click on it, it must delete project1.exe Because of the locking of this file by itself it first has to be released? I tried serveral combination... Big regards for the one whole solves this problem!! :) Regards Sheep --- Sheep Productions www.sheepproductions.com ----- Original Message ----- From: Sanne Schaap To: Michael Gade ; syn...@li... Sent: Friday, March 23, 2001 2:04 AM Subject: Re: [Synedit-devel] Feature Request: WordWrap Hi, I am busy writing a wordwrap function, but I am stuck. Please read: >>>>>>>>>> Worwrap: Determines whether the edit control inserts SOFT carriage returns so text wraps at the right margin. property WordWrap: Boolean; Description Set WordWrap to True to make the edit control wrap text at the right margin so it fits in the client area. The wrapping is cosmetic only--the text does not include any return characters that were not explicitly entered. Set WordWrap to False to have the edit control show a separate line only where return characters were explicitly entered into the text. Note: There should be no use for a horizontal scroll bar if WordWrap is True. >>>>>>>> Ok, I need another ascii code, because I tried but both #13 or #10 results in a hard return. Another problem: if I insert either a #10 or #13, it results in a SynEdit box as a [] char. In TMemo and TRichEdit it does work. sorry for the english. Thanx. Regards Sheep --- Sheep Productions www.sheepproductions.com ----- Original Message ----- From: Michael Gade To: 'Sanne Schaap' ; spr...@bs... ; syn...@li... Sent: Thursday, March 22, 2001 4:28 PM Subject: RE: [Synedit-devel] Feature Request: WordWrap / TeX Highlighter >Does anyone knows what's the ascii code of a soft-return? What is a 'Soft' return ?? The ASCII value for 'Carrige Return' is 13 Pressing the 'Return' key actually makes 2 caracters. 1 'Carrige return' and 1 'Line Feed' (10) That would make 'return' == #13#10; Remember to discard that line feed if you don't use it. Med venlig hilsen / Best regards Michael Gade Developer eBiz A/S Brandts.com Store Kongensgade 23A DK-1264 Copenhagen K Tel.+45 7731 1900 Fax. +45 7731 2091 Mobile. +45 2947 2690 Mail : mg...@as... http://www.as-brandts.com/ebiz |