Questions tagged as 'delphi-7'

2
answers

Breaking a For Loop

How do I break a loop? EX: for x:=1 to 10 do if x = 5 then "break" end When it got to 5, the loop would be broken, would not continue. Of course it would be another condition. I wonder if you have any.     
asked by 17.10.2014 / 19:02
2
answers

Locate for two fields

How to do a search with Locate with two or more fields simultaneously? What are the disadvantages of doing this?
asked by 25.11.2017 / 12:36
1
answer

Access violation when creating Thread

I'm getting the error:    Access violation at address 00420214. Write of address 0000000E. When creating a Thread. The error line is exactly the creation line (marked with '&'). In uses I added Unit3 (the thread) In var , I...
asked by 12.01.2015 / 15:42
1
answer

Delphi simulate angle subtraction expressed in degrees °, minutes' and seconds "

Delphi, Lazarus I need help from friends, a .pas code to simulate the subtraction of angles expressed in degrees °, minutes' and seconds "in Delphi or Lazarus, taking the values of two TEdit and giving the result of the subtraction in a Label...
asked by 20.03.2018 / 18:57
1
answer

How to search using regular expression in delphi 7 [duplicate]

In delphi 7 when opening the search dialog box: CTRL + F and selecting the option: Regular Expressions would like to find anything starting with the word GPField and ending with IsNull For example, I have the following code: if GPFiel...
asked by 06.06.2018 / 14:51
1
answer

How to use pointers in delphi?

I have the following code snippet: if TMenuItem(fmPrincipal.FindComponent('teste')) <> nil then if TMenuItem(fmPrincipal.FindComponent('teste')).Visible then ... I look for a menu item and check if it is visible. But my c...
asked by 18.07.2018 / 22:19
1
answer

Send email through outlook

I'm trying to send mail using Outlook, through Delphi7, I've used this Documentation: Command-line switches to open outlook with message parameter passing, conforms below: var para,assunto,mensagem : string; begin para := '[email protected]...
asked by 20.03.2017 / 12:39
1
answer

Frame Replication [Error: Component already exists]

I have a form in delphi and wanted to click a button a pre-created frame was added dynamically several times. I'm trying through this code: procedure TMain.Button1Click(Sender: TObject); var i:integer; frame:TFrame; begin for i:=0 to 5 do...
asked by 20.12.2016 / 19:23
1
answer

Is there a way to generate release versions in the old Delphis directly by IDE?

In newer versions of Delphi we can easily generate a version of the executable for distribution just by performing the compilation by Release . This removes several useful points for the debugger and leaves the executable smaller. Is th...
asked by 29.03.2014 / 00:55
3
answers

Create objects in Runtime faster

I'm developing a unit for a biometric reader. When giving the CREATE, the unit create several objects in runtime within TabSheet. Everything is running perfectly, but by loading the objects you can see blinking / drawing on the screen. Has anyon...
asked by 04.07.2017 / 17:38