Questions tagged as 'delphi'

1
answer

Because I can not save more than 4096 characters in a Delphi 10.1 string

I'm trying to build a string with multiple SQL queries to run it in an SQLite database, but it only allows me to store 4096 characters in the string, I've tried AnsiStrings but it's the same thing. I am using Delphi Berlin 10.1 This is...
asked by 14.04.2017 / 18:12
1
answer

I can not see certain objects in delphi

Hi, I'm editing a small graphic application to collect different files in delphi but something strange happens to me. The application looks like this: But when I compile and execute it suddenly the objects in the corner disappear and I do...
asked by 17.12.2016 / 01:48
1
answer

Tour a StringGrid and TDBGrid

Dear, I have a problem, I am new to delphi and I want to go through a StirngGrid also a TDBGrid, I would like some suggestion. I am developing a client - server application (DataSnap), but I am not able to reccure the STringGrid, I want to devel...
asked by 10.05.2018 / 23:04
1
answer

Are arrangements based on 0 or 1 on Delphi / Pascal?

I want to make an arrangement in Delphi. I found a solution with this code: var arr: array of String; Every time I add something, I do it this way: var Form1: TForm1; var arr : array of String; procedure TForm1.Button1Click(Sender: T...
asked by 29.08.2016 / 18:11
1
answer

How to use TGpsStatus.SatelliteCount?

Hello good afternoon everyone I'm trying to get the number of satellites with which a specific point was obtained in the GPS in Delphi 10.2 Tokyo. My program simply captures latitude and longitude with the TLocationSensor component and...
asked by 18.06.2018 / 23:26
2
answers

Error in DBExpress with Delphi + SQLSERVER

Dear, I have this error: SQL STATE 42000, SQL Error CODE 201 Look for information on the internet and I can not find the solution. Client side script: var client : TTServerMethodsClient; var ds:TDataset; var dst:TDataset; v...
asked by 18.05.2018 / 16:50
1
answer

do a chronometer in countdown delphi

Greetings, I've been wondering how to put a countdown of a minute or a chronometer to say it and then join it to a traffic light that I made with forms and timers for when you start for example this is in red for 59 seconds then turn to yellow a...
asked by 16.02.2017 / 19:20
1
answer

Mold type in Delphi

I need to clarify on the issue of type molds in Delphi. I have written an example with two classes, TClassA and TClassB . TClassB inherit from TClassA . The code is as follows: program TEST; {$APPTYPE CONSOLE}...
asked by 25.08.2016 / 17:50
1
answer

Identifier problem? (Delphi)

The error is as follows:    identifier not found TDato2 {$mode objfpc}{$H+} interface uses Classes, SysUtils; type TDato1 = class campo1: string; campo2: string; dato2: TDato2; end; TDato2 = cla...
asked by 15.07.2016 / 23:53
2
answers

NULL data in Delphi 7 [closed]

If the text of an edit is Null show message so that the required data is filled otherwise run the code. That's what I need.     
asked by 24.05.2016 / 04:59