[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Delphi

59K

Solutions

17K

Contributors

Delphi is the most powerful Object Pascal IDE and component library for cross-platform Native App Development with flexible Cloud services and broad IoT connectivity. It provides powerful VCL controls for Windows 10 and enables FMX development for Windows, Mac and Mobile. Delphi is your choice for ultrafast Enterprise Strong Development™. Look for increased memory for large projects, extended multi-monitor support, improved Object Inspector and much more. Delphi is 5x faster for development and deployment across multiple desktop, mobile, cloud and database platforms including 32-bit and 64-bit Windows 10.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi.

I'm trying to migrate my projects from Delphi 7 to RAD Studio 10.2.3 Tokyo.
I have a problem with the buttons because in D7 I used two components for the Button:

- suButtons (Sunisoft SUIPack)
- TButtonXPMACCorel (CWin)

look the attached image.

Unfortunately I could not get these components in the new RAD Studio.
Does anyone know any similar component that can have a button with this appearance?
button_problem.png
0
CompTIA Cloud+
LVL 12
CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Running Delphi XE2
For an obscure reason, now when I click on the HELP in the menu bar, it popup this (french translated) : naming space for RAD studio help is not defined. Please install the RAD Studio documentation !!!
Can I fix this without having to reinstall the doc.
If I need to reinstall, where can I find it (I do not have the setup anymore)
Thanks
0
I am looking for a full working example of a Delphi (mine is XE2) application accessing the GMail pop server (pop.gmail.com)
I have tried by myself, but it looks difficult to connect to the server
Once that is done, I will have no problem retrieving and processing the incoming emails
Thanks
0
hi
please help re:
[DCC Error] splash_u.pas(62): E2010 Incompatible types: 'Integer' and 'Boolean'


this is the code:
procedure TTfrmSplashScreen.tmrSplashScreenTimer(Sender: TObject);
begin




  pgbSplashScreen.StepIt;
  k := k + 1;
  lblsplashscreen.Caption := 'Loading ' + IntToStr(k) + '%';

 if (k = 100) then pgbSplashScreen.Step :=1
    and pgbSplashScreen.Max =(100);
  tmrSplashScreen.Enabled := False;
    tfrmSplashScreen.Close;
    tfrmSplashScreen.Release;
0
Hello,

I have a device, camera that connects to wifi and transmits the video via wifi. How can I read this video buffer from this device using Delphi Desktop application and display the video in this desktop app? Via ethernet LAN connection. Using TCP read buffer? But how to read the right buffer exactly from this particular device? Please show me some code.

Imagine this scenario. I have a video surveillance  camera transmitting video via wifi in country A and I want to see the video in country B. Via LAN.

Regards, Bogomil
0
Hi

I have the following code in Delphi XE 10.1, compiling with 32bit:
type
  TEditStream = record
    dwCookie: Longint;
    dwError: Longint;
    pfnCallback: TEditStreamCallBack;
  end;

function EditStreamCallback(dwCookie: Longint; pbBuff: PByte; cb: Longint; var pcb: Longint): Longint; stdcall; stdcall;
var
  MS: TMemoryStream;
begin
  // dwCookie is Application-defined,
  // so we're passing the stream containing
  // the formatted text to be added.
  //
  MS := TMemoryStream(dwCookie);
  Result := 0;
  with MS do
  begin
    if (Size = Position) then
    begin
      pcb := 0;
      Exit;
    end
    else if (Size - Position) <= cb then
    begin
      pcb := Size;
      Read(pbBuff^, Size);
    end
    else
    begin
      pcb := cb;
      Read(pbBuff^, cb);
    end;
  end;
end;

function REFetchText(RE: TRichEdit; const Text: AnsiString): integer;
var
  ES: TEditStream;
  MS: TMemoryStream;
begin
  MS := TMemoryStream.Create;
  try
    MS.Write(Text[1], Length(Text));
    MS.Seek(0, soFromBeginning);
    ES.dwCookie := Longint(MS);
    ES.dwError := 0;
    ES.pfnCallback := @EditStreamCallback;
    if Pos('{\rtf', Text) > 0 then
      Result := SendMessage( RE.Handle, EM_STREAMIN, SF_RTF or SFF_SELECTION, Longint(@ES))
    else
      Result := SendMessage(RE.Handle, EM_STREAMIN, SF_TEXT or SFF_SELECTION, Longint(@ES));
  finally
    MS.Free;
  end;
end;

Open in new window

if I compile and run it for 64bit I get an accessviolation on "SendMessage". I think the problem are some parameters but how to do?
Thanks, Peter
0
In large Delphi 7.0 legacy application. Recently had trouble with forms, popping to front when not active.

Also had one for that would create and show, even when not called. Like there is a leak in the code or something.

Worked around the second case by testing for the actual button press.

  if ((Sender as TObject).ClassName = 'TBitBtn') then begin
    Screen.Cursor:= crHourglass;

    if (ApChecksf = nil) then
      ApChecksf := TApChecksf.Create( Self);

    Screen.Cursor:=crDefault;

    ApChecksf.Show;
  end;

The first problem is still a mystery.

Greg
0
Hello,

I have an intraweb application (quite an old version of intraweb ... version 12 i think).

I have a form that has a memo field.  I have implemented a double click event on the memo field that creates and opens a new form.  This form has a single memo field occupying the whole form area.  Basically i am just creating a form to edit the contents of the memo field.

No problem passing the contents of the memo field into the new form, but i dont know how to pass the changed field back to the original form and memo field.

Anyone any ideas how its possible to pass back data to a parent form when the child form is released?
0
Hi,

I'm looking for the sources of a basic paint application. Preferably build only with standard components.
- Load at least jpg, png and bmp file
- Draw a line, freehand line, arrow, rectangle, circle (ellipse)
- Insert text with different fonts and fontsizes (maybe even underline and italic)
- option to set linecolor and fillcolor (might also be transparent)
- option to undo / redo draw-actions
- Save changes to at least jpg, png and bmp file (saved as it was loaded)
0
What is Delphi and how does it work?
0
Become a Microsoft Certified Solutions Expert
LVL 12
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

I work with Delphi Rad seattle 10.
My program needs to get the real date from the internet.
It would be better if could get the date from the server of my site
I am using FireDac which  enables me to connect to external server.
0
I need to convert a Date Time from our sql server to a date time format that includes UTC offset like "2018-10-05T12:00:00-05:00" that supports daylight savings time.  I am sure there is a function to do this, but I can't seem to ask google the right question to find it.
0
I wish to update my Android SDK/NDK  tools on Embarcadero RAD Studio 10.2 from SDK API 34 (Android version7) to SDK API 28 (Android version 9).
several videos on U-tube show how to install Android tools into the IDE using Gettit but in my list of Gettit packages, Android development tools is missing ?

Is there a way to update the SDK/NDK using RAD Studio ( C++ builder) ?
0
I just moved from Delphi XE7 to Delphi 10.2 and have problems with IdHTTP.Get.
It doesn't seem to work in Delphi 10.2 the way it used to in Delphi XE7.
I am getting Error 500: failed to serialize the response body
0
I am looking to click on a line in a tiff file and color the line with a color.
See this video https://grantfullen-yahoo.tinytake.com/sf/Mjk3MzEwOV84OTE3ODU4
Looking for a solution in Delphi Community Edition.
This is a schematic and the ideal is to click on a line  go from junction to junction ( BLACK DOT) in the schematic.
The schematics will always be black and white.
0
How can I Color or underline or Bold Memos  only in current record  or create some kind of ruller on Preview form in Fastreport and Delphi
to easy follow  row after row
0
Hi.
I have many problem to run a .bat (with a 'start cmd /c myapplication.exe' ) from a service. I have try ShellExecute but i have myapplication.exe running in background and never appears. My appilcation.exe is an APPTYPE CONSOLE.

I have try:
ShellExecute(0, 'open', 'c:\mydir\my.bat', nil, nil, SW_SHOWNORMAL) ;
or similar but this don't work!

I know that is difficult to execute a visual application from a service.
Can someone help me?

Windows 10
RAD Studio 10.2

Thanks in advice.
0
On a TForm I have a TComboBox component
I want to programmatically "click" on it so that the user has to select an item in the list
TComboBox.Click is refused by the compiler
Any other way ?
0
Hi,

We have a 3rd party software house which have an application provided to us which is written in Delphi.
One of the core features of the software is we can send content from the application using MAPI.
When it works properly, you press "Send Email" in the application, it brings up a pop-up box which says "Sending Email..." - the application initiates the MAPI call which opens the email client (Outlook) over the top of the application and fills in the content of the email, the user then clicks "Send" and it closes the Outlook window, and MAPI lets the application know it's been sent and the "Sending Email..." popup disappears from the application and you can continue using it.

About two years ago we had this application published using Citrix on a Server 2003 Farm with Office 2003 to our remote depots. Our head office depot accesses the application locally without Citrix. All worked fine without any issues.
We then upgraded our farm to the latest version of Citrix, Server 2012 R2 and Office 2016.

Since we upgraded we are having issues when sending email from the application. Every now and again the application would initiate the MAPI call to open the email client (Outlook 2016) and then fill in the content, the end user would then just click "Send" and the Outlook window would close. However, the application would freeze with the "Sending Email.." screen. The applications basically freezes at this point waiting for the nod that the email has been sent.

When…
0
CompTIA Security+
LVL 12
CompTIA Security+

Learn the essential functions of CompTIA Security+, which establishes the core knowledge required of any cybersecurity role and leads professionals into intermediate-level cybersecurity jobs.

The following command string exports a PDF to be saved or opened.

start explorer "<http://ServerName/ReportServer$NamedSQLInstance?%2fPurchasing%2fPurchaseOrder&PoNumber=103290&rs:Format=PDF"

Need to NAME and SAVE the file Automatically, from a Delphi desktop application.
0
In my Delphi application, I have a TMemo on a form
I put some text in it, but quiet long (wordwrap = true)
That's not a problem, user can go down in the text but sometimes the beginning of the text is not shown at the top right of the TMemo
How can I have text visible from the beginning of it
0
I have two forms shown in my application
Says FormA and FormB
How can I programmatically do to have FormB becoming visible when it is "behind" FormA ?
Thanks
0
On a TForm I have a TMemo
I fill in the TMemo lines with some text (variable) (wordwrap is true)
I want to programmatically adapt the height of the form so that the entire text is visible (no scrollbars and anchor is adapted)
Thanks
0
I want to move from FTP to HTTPS due to Firewalls being nasty to FTP.
For HTTPS I will need a SSL Certificate.
   Can I get free valid certificates anywhere ?
   Should I distribute my certificates while deploying my Application ?
I use Delphi (ICS HTTPS component) and my application runs on Win OS.
I have developed a backup application which is installed on every machine of my customers.
The HTTP Server will only be installed on the Destination machines and monitoring machine.
0
I´m  installing Delphi 5 Application on virtualbox running windows XPSP3. This old application use MDB database. Now I´m facing this error when starting the App.
Invalid configuration parameter on ALIAS: DATABASENAME

How can I solve it ?
0

Delphi

59K

Solutions

17K

Contributors

Delphi is the most powerful Object Pascal IDE and component library for cross-platform Native App Development with flexible Cloud services and broad IoT connectivity. It provides powerful VCL controls for Windows 10 and enables FMX development for Windows, Mac and Mobile. Delphi is your choice for ultrafast Enterprise Strong Development™. Look for increased memory for large projects, extended multi-monitor support, improved Object Inspector and much more. Delphi is 5x faster for development and deployment across multiple desktop, mobile, cloud and database platforms including 32-bit and 64-bit Windows 10.

Top Experts In
Delphi
<
Monthly
>