-
Content Count
42 -
Joined
-
Last visited
Community Reputation
17 GoodRecent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
I see that there are no formatting settings, and the code is written in Rust. I’m wondering who else might find this useful besides your internal team? What made you choose Rust for a Delphi code formatter? Just wanted to try out Rust, or was there more to it?
-
The behavior of the Sleep function was changed in Windows Server 2003, making it safe to use Sleep(0) — unless you're writing code for Windows XP. https://learn.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-sleep
-
Am I right in understanding that we can't switch to such a virtual mode with the standard TTreeView? Is this why Virtual TreeView exists?
- 17 replies
-
- delphi xe7
- listview
-
(and 1 more)
Tagged with:
-
Did you report an issue?
-
No, I don't use it in the IDE at design time. I create EWB at runtime and it seems to work fine.
-
I found it! fix for mouse hook: https://github.com/sasgis/embeddedwb/commit/b8f659042e0a6b30ab824a89c4ee24b4961648cc fix for win64 typecasts: https://github.com/sasgis/embeddedwb/commit/fe9e776a51ca7534853811841d66047f835a7bdf Function SetWindowLong must be replaced with SetWindowLongPtr with proper type cast. Function GetWindowLong must be replaced with GetWindowLongPtr.
-
I have the same problem with EmbeddedWB. There is something bad in the component initialization code, because application start crashing after you add just one EmbeddedWB unit to your uses list. unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.OleCtrls, EmbeddedWB, // !!! System.SysUtils; type TForm1 = class(TForm) Button1: TButton; procedure Button1Click(Sender: TObject); end; var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); begin // var EmbeddedWB1 := TEmbeddedWB.Create(Self); // EmbeddedWB1.Navigate(ExtractFilePath(Application.ExeName)+ '..\..\test.htm'); end; end.
-
Your link text and its URL do not match:
-
Yes, it works now. Thank you.
-
Possible solution from here: https://helpman.it-authoring.com/viewtopic.php?t=16333 Add this line to the template: <meta http-equiv="X-UA-Compatible" content="IE=edge" />
-
PDF is not very good for documentation, CHM is the best!
-
{$IF CompilerVersion > 34} // The default font changed from "Tahoma, 8 pt" to "Segoe UI, 9 pt" // starting with Delphi 11. This increased the text size by 2 pixels. Application.DefaultFont.Name := 'Tahoma'; Application.DefaultFont.Size := 8; {$ENDIF} Try this fix (insert code into your .dpr file).
-
How to determine that dcc32 does not support command line compiling?
zed replied to dmitrybv's topic in Delphi IDE and APIs
Only CE does not support command line compiling. -
Extract sqlite3.dll into the folder where Delphi outputs your application .exe file, and use this wrapper: https://github.com/plashenkov/SQLite3-Delphi-FPC (there is a usage example: https://github.com/plashenkov/SQLite3-Delphi-FPC/blob/master/Examples/Delphi/Main.pas).