Questions tagged as 'delphi'

1
answer

Error showing local variable in Delphi: "Record, object or class type required"

I'm trying to show a local variable in a message, but I'm not clear on the concept. Code: procedure TForm1.Button1Click(Sender: TObject); var i:integer; begin i:=1; ShowMessage(i.AsString); end; Error: [Error] Unit1.pas(31): Rec...
asked by 23.02.2016 / 13:16
0
answers

Problems with screen refresh using the TVertScrollBox component

I'm making an application where you have a Form that shows configuration data, it has a lot of fields, I use TEdit and TCheckBox , put in TFramedVertScrollBox . I've also tried it with TVertScrollBox . The prob...
asked by 24.12.2018 / 08:56
1
answer

Types ShortString, AnsiChar and AnsiString in Delphi Tokyo for Linux

In Delphi Tokyo for Linux, what are the equivalent types of: ShortString AnsiChar AnsiString I send this block of code to show how these types work for Windows but for Linux not: program Project1; {$APPTYPE CONSOLE} {$R *.res...
asked by 07.09.2018 / 18:10
2
answers

insert records from an excel file to a DB MS access delphi

I'm doing a program that imports Excel into the database, This is my code: var importdir, ipo: string; begin if OpenDialog1.Execute then begin importdir := ExtractFileDir( OpenDialog1.FileName ); ipo := OpenDialog1.FileName; end; ADOConnection...
asked by 11.09.2018 / 01:22
1
answer

Problem with rad studio Embarcadero 10.2.3

I have a problem with Rad Studio 10.2.3 version Delphi Commmunity Ed, I have installed .Net Framwork 3.5 starts the installation well but at the end it shows me the following message:    "Problem loading data Can not load data from the server...
asked by 25.07.2018 / 23:19
1
answer

Control from Delphi the maximized of other App

I program in Delphi 6. :-) I developed an application that occupies a sector of the screen (something like a taskbar at the bottom) and that is "always visible" (Stay-On-Top). It happens that the other applications are "behind" when they maximiz...
asked by 06.12.2017 / 14:54
1
answer

Because Delphi shows me this error: Undeclared identifier: 'DecimalSeparator'

I'm using Delphi Berlin 10.1.2, I just started a new project using the superobject library: link This library serves to interpret API responses function FloatToJson(const value: Double): SOString; var p: PSOChar; begin Result := Float...
asked by 21.05.2017 / 19:27
0
answers

Delphi XE10 compress a string in base 64 with ZLIb

Well it turns out that I have to send from windows to mobile devices, ios and android, and vice versa, by TCP a series of data, with Embarcadero Rad Studio 10 Berlin. These data are strings in base 64 format. So far, no problem, I send and I...
asked by 20.01.2017 / 12:02
0
answers

How to disable the scroll in a TvertScrollBox component in Delphi?

I am making an application for IOS and Android devices in Delphi, Rad Studio XE10.1 Berlin, and I have a problem. In a form, I have a TvertScrollbox , and within the many components to visualize, and one of them is a Tlistview ....
asked by 29.09.2016 / 10:36
0
answers

Problems with IP Works SSL v9 SMTP

I am working on RAD Studio XE7 and using IP Works SSL v9 to mount a service that will allow me to send an email by smtp 465. After accepting the token and when the system tries to make the connection it gives me this exception:    Exception:...
asked by 04.05.2016 / 22:52