logo
down
shadow

DELPHI QUESTIONS

Delphi bidirectional binding for Synedit
Delphi bidirectional binding for Synedit
I think the issue was by ths following , The reason that TSynMemo does not behave like TMemo is that 'out of the box' it has no support the LiveBindings observers necessary to make LB work. The way to overcome this is to derive a TSynMemo descendent
TAG : delphi
Date : January 12 2021, 07:00 PM , By : user179863
low rendering with the big data in teechart pro vcl
low rendering with the big data in teechart pro vcl
I hope this helps . i use teechart pro vcl for plot charts from input data. i read data from comport and add points to TFastlineseries with this code : , Turn off drawing all the points.
TAG : delphi
Date : January 12 2021, 07:00 PM , By : Nathan Good
Repeating procedure for every item in class
Repeating procedure for every item in class
I hope this helps . What I'd do if I had to do something like this is put one more TList on Data, which holds a list of all the Objects on it. Fill it in the constructor, and then when you have to do something like this, use a loop to apply the same
TAG : delphi
Date : January 10 2021, 01:49 PM , By : Tink
Delphi SampleProfiler: How is this code calling into ntdll.dll?
Delphi SampleProfiler: How is this code calling into ntdll.dll?
To fix this issue Well, this problem was actually my main reason to make my own sampling profiler:http://code.google.com/p/asmprofiler/wiki/AsmProfilerSamplingMode
TAG : delphi
Date : January 10 2021, 01:47 PM , By : msugar
How can I get other processes' information with Delphi?
How can I get other processes' information with Delphi?
To fix this issue You don't need the J(WS)CL therefore, there is a simple WinAPI call that does almost all you want, and this is CreateToolhelp32Snapshot. To get a snapshot of all running processes, you have to call it as follows:
TAG : delphi
Date : January 10 2021, 01:45 PM , By : Marianisho
Error in FMX.Treeview function TTreeViewContent.GetLastVisibleObjectIndex
Error in FMX.Treeview function TTreeViewContent.GetLastVisibleObjectIndex
fixed the issue. Will look into that further I have found a solution to the problem I posted. The method FolderToTreeview has been amended as follows:
TAG : delphi
Date : January 09 2021, 05:38 AM , By : ugufugu
Reliance on unit in a referenced unit's implementation
Reliance on unit in a referenced unit's implementation
wish help you to fix your issue In this case the problem was that the package I was using had not been added to runtime packages. (I should have spotted this).As the package was not linked, Delphi was trying to include the referenced source in the pr
TAG : delphi
Date : January 02 2021, 10:54 PM , By : user181345
How to convert MySQL Blob field to string for insert statement
How to convert MySQL Blob field to string for insert statement
hope this fix your issue This should give you a good start. The encoding is not base64, but simply converting the bytes to a hex string.
TAG : delphi
Date : January 02 2021, 06:48 AM , By : somebody
Variable required error (Delphi) - How to take the address of a procedure?
Variable required error (Delphi) - How to take the address of a procedure?
I hope this helps . You don't need PTProcedureCallback at all, as TProcedureCallback is already a pointer type.
TAG : delphi
Date : January 02 2021, 06:48 AM , By : cmhudson
Invalid types in Delphi XE4 generic wrapper
Invalid types in Delphi XE4 generic wrapper
I hope this helps you . If X is of type TDictionary, then the enumerated items will be of type TPair, not B.
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Guid
Why MoveFile is missing operator?
Why MoveFile is missing operator?
With these it helps Based on the name of the event handler (moveFileClick) and the way the IDE names things, you have a button named moveFile on your form that is conflicting with the function name. The compiler thinks MoveFile refers to the button,
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Pierre LeBoo
How to horizontally center text in a TMemo component?
How to horizontally center text in a TMemo component?
seems to work fine Simply set the memo's Alignment property to taCenter.
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Vijayant Singh
Delphi listview change header text
Delphi listview change header text
will help you Headers and footers are regular instances of TListViewItem except they have their Purpose property set to TListItemPurpose.Header or TListItemPurpose.Footer. This property instructs the component to render those items using special appe
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Henry Fatino
Connection timeout with TNetHTTPClient and Delphi 10.3
Connection timeout with TNetHTTPClient and Delphi 10.3
Hope this helps You haven't provided the target platform for your sample code. According to the documentation ConnectionTimeout property is not supported under OS X and iOS. Setting ConnectionTimeout under those platforms has no effect.Other than tha
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Lauren Kirschner
Direct show capture pin configure run time live gamer portable 2 plus
Direct show capture pin configure run time live gamer portable 2 plus
Hope that helps This is a bit complicated because some cameras might support rates flexibly from within certain range and other might have fixed set of supported rates. Generally speaking you should be able to build a media type with desired frame ra
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Sanoran
TADODataset catch Post method error code in Delphi
TADODataset catch Post method error code in Delphi
should help you out You may be able to catch the error via your AdoConnection object.The TAdoConnection has an Errors object (see definition in AdoInt.Pas). To investigate it, I used a stored proc on the server defined as
TAG : delphi
Date : January 02 2021, 06:48 AM , By : DK.
The process won't wait?
The process won't wait?
To fix this issue You are not checking the return value of the 2nd CreateProcess() to see if it failed, but more importantly you are completely misusing MsgWaitForMultipleObjects():
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Praetoriansentry
Selection contains a component introduced in an ancestor
Selection contains a component introduced in an ancestor
this one helps. Ancestor, in this context, means a class in the chain of classes from wich the object under discussion inherits. For example look at TButton in help. At the top of the help page, all ancestors of TButton are shown as a chain of classe
TAG : delphi
Date : January 02 2021, 06:48 AM , By : lonehunter01
How to send both command line switches and paramstring with TShellExecuteInfo
How to send both command line switches and paramstring with TShellExecuteInfo
help you fix your problem You should not be using ShellExecuteEx() for this at all. That function is meant for executing document files, not running applications. You should be using CreateProcess() instead. Simply past the whole command to its lpCom
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Jorge Palacio
Difference between then and then begin?
Difference between then and then begin?
this will help Delphi needs begin and end to form blocks. It does not keep blocks of code together by indentation, like e.g. Python does, it uses begin end to delineate these blocks. Languages like C, C++, C, Java and JavaScript use { and } instead,
TAG : delphi
Date : January 02 2021, 06:48 AM , By : orlandoferrer
How to get TableName of a DataSet?
How to get TableName of a DataSet?
should help you out Using RTTI it is possible to get the value for any property. The example below returns the value of the TableName property, provided there is one. I have verified that the code works in a small project.The main benefit would be th
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Skee
How to use .Ini Files in FMX/Delphi
How to use .Ini Files in FMX/Delphi
To fix the issue you can do You can use the IniFiles unit. I have used it on android, windows and linux and it seems to work fine. For the file path on android you would use something like: System.IOUtils.TPath.GetDocumentsPath + System.SysUtils.Path
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Priya
create a wav file from multiple wav files in delphi
create a wav file from multiple wav files in delphi
I wish this helpful for you You can use Wave Audio Package for this.And here is the implementation of a function to make a wave audio stream by merging several wave audio streams.
TAG : delphi
Date : January 02 2021, 06:48 AM , By : user178372
Can Delphi dragging be "promoted" to docking?
Can Delphi dragging be "promoted" to docking?
wish help you to fix your issue I have a solution now which works for me, so I'll answer myself - maybe somebody has a use for this too.Let's start with a small sample application that creates a TPageControl with 8 docked forms, with code to allow fo
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Derek
Using Delphi's ShellExecute() with the process inheriting the original console?
Using Delphi's ShellExecute() with the process inheriting the original console?
This might help you Using ShellExecute() you won't be able to make the spawned application use the same console. The HWND element in the ShellExecute() call is documented:
TAG : delphi
Date : January 02 2021, 06:48 AM , By : sgmichelsen
How can create a color progressbar in delphi?
How can create a color progressbar in delphi?
around this issue With themes enabled you cannot change the color of the progressbar. With themes disabled you can change the color by sending a PBM_SETBARCOLOR message to the control.Since you want a to change the color of your themed progressbar, y
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Brian
Is there a Delphi dropdown notification component?
Is there a Delphi dropdown notification component?
I think the issue was by ths following , I have made one using a TPanel and few lines of code. But you can try something like TMS Adv Panel http://www.tmssoftware.com/site/advpanel.asp.
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Andrew Mattie
How make DBLookupcombobox has a Windows 7 Look with RAD 2010?
How make DBLookupcombobox has a Windows 7 Look with RAD 2010?
will be helpful for those in need I have discovered that the reason for this behavior it that TDBLookupComboBox is a descendant of TCustomControl. Most similar controls are descendants of TCustomEdit, TCustomComboBox or TCustomListBox, which all call
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Ambarish Singh
How to change the pixelformat of a TWICImage in Delphi 2010
How to change the pixelformat of a TWICImage in Delphi 2010
it helps some times Bummi and Warren P asked that I post the answer that I had added sometime ago. Here is the answer:For those that may want to know I tried this and it seems to work (it uses TcxImage by Developer Express, but I suspect TImage will
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Ron
Improve speed of own debug visualizer for Delphi 2010
Improve speed of own debug visualizer for Delphi 2010
wish help you to fix your issue That Evaluate needs to do a surprising amount of work. The compiler needs to compile it, resolving symbols to memory addresses, while evaluating properties may cause functions to be called, which needs the debugger to
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Big Ant
I have the Process ID and need to close the associate process programmatically with Delphi 5
I have the Process ID and need to close the associate process programmatically with Delphi 5
this will help If you have a process id and want to force that process to terminate, you can use this code:
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Navin
How test a Delphi app with Application Verifier 4.0?
How test a Delphi app with Application Verifier 4.0?
wish helps you Application Verifier is a GUI wrapper around a bunch of registry settings. When you add your application to Application Verifier, it tells Windows to do more checking when your application is running.
TAG : delphi
Date : January 02 2021, 06:48 AM , By : MP.
DataSetProvider - DataSet to ClientDataSet
DataSetProvider - DataSet to ClientDataSet
it should still fix some issue You're looking for the TDataSetProvider.BeforeUpdateRecord event. Write an event handler for this event and you can take manual control of how the data is applied back to the data base. Something like this
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Vlad Sirenko
Creating Delphi Objects at runtime based on class type
Creating Delphi Objects at runtime based on class type
Hope that helps There is insufficient information in the question.Where does the "type" of the form objects (in the question) come from? Is it simply a type name? How does CreateObjects() discover the type that is required for each object?
TAG : delphi
Date : January 02 2021, 06:48 AM , By : markku
installing Delphi5 pro in windows 64b
installing Delphi5 pro in windows 64b
To fix the issue you can do I don't know if this helps, but I run Delphi 7 on 64 bit Windows 7 with no problem.There are some special steps to installing it, but after that, it works fine.
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Justin Bowers
Which is more appropriate for pbx events, TIdTCPServer or TIdTCPClient?
Which is more appropriate for pbx events, TIdTCPServer or TIdTCPClient?
With these it helps The difference between a TCP server and client is who initiates the connection. The client connects to the server. So I'm guessing you should use the TIdTCPClient.
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Jim Davis
How reduce dll size again
How reduce dll size again
I wish did fix the issue. If a unit in ecControls is accidentally used, it's initialization section (if it has one) will be called and you can put a breakpoint in there to try and see where it is being called from. You can also put a breakpoint in Sy
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Justin Bowers
Why "menus" unit is finalized too early?
Why "menus" unit is finalized too early?
Does that help That situation can happens when a unit finalize after another unit it indirectly depends on.For exemple, take the following unit:
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Joshua Johnson
Small Command line scripter (like Autocad commands) one line editor
Small Command line scripter (like Autocad commands) one line editor
it fixes the issue Maybe you will like this, maybe not. But it sounds actually like you would like to get some basic understanding, too. You might like what I think is a classic first reading on how to build a compiler by Jack Crenshaw. You can find
TAG : delphi
Date : January 02 2021, 06:48 AM , By : user87225
Delphi: How to set the default project in a project group?
Delphi: How to set the default project in a project group?
it fixes the issue Far from ideal but the only way I know is like in the Delphi IDE, right click your default project in the Project Manager and select Build Later. or Switch the lines for Project A and Project B in the .bpg file.
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Bruce
Is there any way to run "dir" directly?
Is there any way to run "dir" directly?
it fixes the issue Invisible Solution (Create a pipe, execute the command, redirect stdout to the pipe, read out the pipe):
TAG : delphi
Date : January 02 2021, 06:48 AM , By : John Miller
Where to download Delphi BDE 5.01
Where to download Delphi BDE 5.01
I wish did fix the issue. Yes, google knows some places like here.
TAG : delphi
Date : January 02 2021, 06:48 AM , By : platformNomad
Delphi exe, will it run with just BDE configuration?
Delphi exe, will it run with just BDE configuration?
To fix this issue If the application uses the BDE then the BDE has to be installed before the exe can run. The BDE files are not linked into the exe.A Delphi installation normally also installs the BDE. This might give the impression that Delphi has
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Saurabh
Looking for Delphi 4 professional/Quickreport
Looking for Delphi 4 professional/Quickreport
should help you out Delphi 4 was mostly abandoned when Delphi 5 came out. You can still find Delphi 5 on Ebay. If you're not using any components, the code is compatible between versions.
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Brandon
AcroPDF in Delphi - How do I scroll?
AcroPDF in Delphi - How do I scroll?
I hope this helps you . If you are up for rolling your own viewer, take a look at the QuickPDF Library. They have a RenderPageToStream function that will create a reliable image of your document in one of several different formats including BMP, JPG
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Ben
How retrive full path with file name or folder name from ShellTreeView/ShellListView
How retrive full path with file name or folder name from ShellTreeView/ShellListView
it should still fix some issue you can use the TShellListView.SelectedFolder and TShellTreeView.Path properties to retrieve the path and filename selected.this sample uses the onchange event and assign the path into an EditText.
TAG : delphi
Date : January 02 2021, 06:48 AM , By : avi
Sending a file from my application (Indy/Delphi) to an ASP page and then onto another server (Amazon S3)
Sending a file from my application (Indy/Delphi) to an ASP page and then onto another server (Amazon S3)
will be helpful for those in need A HTTP PUT will store the file at the given location in the HTTP header - it "requests that the enclosed entity be stored under the supplied Request-URI".The disadvantage with the PUT method is that if you are on a s
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Hans-Inge
Need to send a pasting command from one program to another?
Need to send a pasting command from one program to another?
This might help you It's possible, but this is very poor design. The clipboard is provided for the benefit and use of the user, not the programmer. You will end up trashing pre-existing clipboard data. It is not possible to 100% faithfully and reliab
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Meg
Delphi, read data from 3rd party data field
Delphi, read data from 3rd party data field
I hope this helps you . I'm assuming that you are trying to "screen scrape" a text field from another app. You can use FindWindow to get a handle that that window, then dig through the child windows to find the control that you're looking for (WinDow
TAG : delphi
Date : January 02 2021, 06:48 AM , By : greggerz
Delphi 7 inheritance
Delphi 7 inheritance
This might help you I'm not exactly sure what you mean with the Base is overwritten but your use of Form1 in your code should probably be changed to Self.Form1 is a global reference to one instance of (probably) your Base form. You could create a zil
TAG : delphi
Date : January 02 2021, 06:48 AM , By : cmhudson
Looking for a good Delphi unicode string library
Looking for a good Delphi unicode string library
will help you What about SysUtils and StrUtils? They contain many String manipulation functions. And if those functions aren't enough you could try the JclStrings unit from the JCL - JEDI Code Library (not to be confused with the JVCL - JEDI Visual C
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Gabe
How can I create a context menu for a Delphi component?
How can I create a context menu for a Delphi component?
Hope this helps Place a TPopupMenu onto your form and design your menu with it. Then select the component the popupmenu is meant for (DbGrid, TreeView, ...) and set it's PopupMenu property to the PopupMenu you just designed.You can have different Pop
TAG : delphi
Date : January 02 2021, 06:48 AM , By : zdyne
How to access a Cassandra distributed database from Delphi
How to access a Cassandra distributed database from Delphi
I hope this helps you . One suggestion elsewhere on SO is to write your own Delphi generator for the Thrift framework.
TAG : delphi
Date : January 02 2021, 06:48 AM , By : richardD
How to avoid the focus on Delphi application?
How to avoid the focus on Delphi application?
wish helps you In your project DPR set Application.MainFormOnTaskBar := False. Override the form's OnShow and OnActivate events and add this to both of them: ShowWindow(Application.Handle, SW_HIDE); Override your form's CreateParams procedure and add
TAG : delphi
Date : January 02 2021, 06:48 AM , By : nagre
Emulate terminal services
Emulate terminal services
wish help you to fix your issue Starting from 2008 Terminal Services (which has been rebranded to Remote Desktop Services) offers RemoteApps which do exactly what you describe. Citrix (XenApp) can do this on all windows (server) versions. So you migh
TAG : delphi
Date : January 02 2021, 06:48 AM , By : Daniel Reslie
A better way of converting Codepage-1251 in RTF to Unicode
A better way of converting Codepage-1251 in RTF to Unicode
help you fix your problem The Charset to codepage table is small enough, and static enough, that I doubt the system provides a function to do it.To do the actual character translations you can use the SysUtils.TEncoding class or the System.SetCodePag
TAG : delphi
Date : January 02 2021, 06:48 AM , By : deanschang
How to pass multiple different records (not class due to delphi limitations) to a function?
How to pass multiple different records (not class due to delphi limitations) to a function?
To fix this issue I don't think you can pass different records to a single function, but you can make several overloaded functions. Like so:
TAG : delphi
Date : January 02 2021, 06:48 AM , By : rhinojosa
Resize PNG image
Resize PNG image
this one helps. The original author of the PNGImage component (the basis of the Delphi native component) had a forum where he, and others, posted code snippets on how to do things using the PNGImage component.Before the forum was taken down I grabbed
TAG : delphi
Date : January 02 2021, 06:48 AM , By : chorn
Easiest way to find previous instance of an application
Easiest way to find previous instance of an application
may help you . I have rewritten a VB6 application in Delphi. It should have only one instance running. How can I do this with minimum of code? , I have some code along the lines of:
TAG : delphi
Date : January 02 2021, 06:48 AM , By : clifton anderson
Difference between GetPixel and Canvas.Pixels in Delphi
Difference between GetPixel and Canvas.Pixels in Delphi
wish of those help Is the Api Function "GetPixel" faster than Canvas.Pixels ? , It should be the same:
TAG : delphi
Date : January 02 2021, 06:48 AM , By : k19k

shadow
Privacy Policy - Terms - Contact Us © scrbit.com