delphi
How to load a single icon from the resources of another file using Delphi?
I want to load an icon (from another file) which doesn\'t have multiple icons embedded in it (it\'s not an icon group).[详细]
2023-04-11 14:40 分类:问答Fastmm with New and Dispose Delphi 6
I have some Delphi 6 code that allocates memory using New and frees it using Dispose.I have stepped through the code and see that both New and Dispose actually do get called.[详细]
2023-04-11 12:09 分类:问答Delphi: old QuickReport element size as autostretched or aligntobottom?
We have old QuickReport with Delphi 6 Professional. We uses QRShape to make \"table\" (as in html, or Excel), not the frame (because the frame size is commonly different than shape, and in QRLabel/QR[详细]
2023-04-11 11:48 分类:问答How change text color in a column in TTNTListView?
I use a TTNTListView in Delphi 7. It is set to vsReport. At OnCustomDrawSubItem event I use this code: procedure TForm.ListViewCustomDrawSubItem(Sender: TCustomListView;[详细]
2023-04-11 09:51 分类:问答Need a ComboBox with filtering
I need some type of ComboBox which can load it\'s items from DB. While I type some text in to it, it should filter it\'s list, leaving only those items, that have my text somewhere (at the beginning,[详细]
2023-04-11 09:31 分类:问答Get the list of ODBC data source names programmatically using Delphi
I saw several examples where the list of the source names were took from registry (HKEY_LOCAL_MACHINE\\Software\\ODBC\\ODBC.INI\\ODBC Data Sources). Is there any other way to get the list of ODBC data[详细]
2023-04-11 09:23 分类:问答Getting "ÿþI" as output data when reading from a .log file using delphi
I am trying to read data from a .log file and process its contents. The log file is created by another application. When I use the readln command in Delphi and display the contents of the file in a me[详细]
2023-04-11 08:20 分类:问答Why doesn't my program recognize mapped UNC paths?
I have some problems writing to a mapped network drive (P:) in Windows 7 from my Delphi program. When I try, for example, ForceDirectories(\'P:\\test\\folder\'), I get an error (path not found).[详细]
2023-04-11 08:18 分类:问答Generics and Marshal / UnMarshal. What am I missing here? PART #2 :-)
Following up on my earlier question : Generics and Marshal / UnMarshal. What am I missing here? In \"part #1\" (the link above) TOndrej provided a nice solution - that failed on XE2.[详细]
2023-04-11 06:35 分类:问答What parameters I can pass to this function?
I found a function function RotateBitmap(var hDIB: HGlobal; radang: Double; clrBack: TColor): Boolean;[详细]
2023-04-11 06:30 分类:问答