-
Content Count
3565 -
Joined
-
Last visited
-
Days Won
120
Everything posted by Lars Fosdal
-
Should Exit be used instead of 'record Exists?' boolean?
Lars Fosdal replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
How many elements in Data ? -
Issues Deploying Firebird DB on Ubuntu 8.04LTS
Lars Fosdal replied to Larry Hengen's topic in Cross-platform
@Larry Hengen - did you change the access rights (chmod) on the db file as well? What are the access rights? -
Delphi 10.4.1 code navigation - Cursor is vanished
Lars Fosdal replied to RonaldK's topic in Delphi IDE and APIs
Have you tested without extra IDE extensions? -
Delphi 10.4.1 code navigation - Cursor is vanished
Lars Fosdal replied to RonaldK's topic in Delphi IDE and APIs
Found a somewhat related case to my issue in QP: https://quality.embarcadero.com/browse/RSP-28514 Added my comments to it. -
Delphi 10.4.1 code navigation - Cursor is vanished
Lars Fosdal replied to RonaldK's topic in Delphi IDE and APIs
See comments #1 Ctrl+Shift+ArrowUp/Down does not work. Seems to be due to typed constant. See comments #2: Broken class completion, seemingly due to same cause as #1. program SydneyCodeNav; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils; type TRec = record a: Integer; // procedure Test; // #2 Uncomment line and press Ctrl+Shift+C to complete code end; TMyObject = class const TR:TRec = (a:1); private procedure InternalTest; // #1 Place cursor here, try Ctrl+Shift+ArrowDown does not work public procedure Test; end; TUnrelated = class // procedure Unrelated; // #2 Uncomment line and press Ctrl+Shift+C to complete code end; { TMyObject } procedure TMyObject.InternalTest; begin Writeln('InternalTest'); // #1 Place cursor here, Ctrl+Shift+ArrowDown end; procedure TMyObject.Test; begin Writeln('Test'); // #1 Place cursor here, Ctrl+Shift+ArrowDown does not work InternalTest; // Ctrl-Clicking InternalTest works end; procedure Test; // Chtrl+Shift+ArrowUp/Down works here var o: TMyObject; begin o := TMyObject.Create; // Chtrl+Shift+ArrowUp/Down works here try o.Test; finally o.Free; end; end; begin try try Test; except on E: Exception do Writeln(E.ClassName, ': ', E.Message); end; finally Write('Press Enter: '); Readln; end; end. -
Delphi 10.4.1 code navigation - Cursor is vanished
Lars Fosdal replied to RonaldK's topic in Delphi IDE and APIs
I haven't seen that specific problem, but I have some units where Ctrl+Shift+Arrow up/down simply refuses to work in 10.4.1 as well as 10.3.3. I need to try to make a minimal example and report it. -
Delphi 10.4.1 code navigation - Cursor is vanished
Lars Fosdal replied to RonaldK's topic in Delphi IDE and APIs
Is this to navigate between interface and implementation for a class method? -
Message Dialog Expert form is too small in Delphi 10.3.3 & 10.4
Lars Fosdal replied to Ian Branch's topic in GExperts
I have an AOC U3277 - very happy with it. -
You can collapse a section of the subforum list, but then there are the activity streams.
-
10.4.1 Released today
Lars Fosdal replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
My installation did the uninstall and asked if I wanted to keep the current registry settings, which I confirmed. Colors and environment variables, etc, were as expected after the new installation. Same with SDKs and Connections. I did have some issues with Parnassus - where I had to delete the old Parnassus_Sydney DLLs for the installer to run as the old ones did not work with the new IDE. Then I got some missing Parnassus warnings when loading workspace, before I could reinstall with GetIt. After installation, the DLLs were where I expected, and everything worked as expected - apart from a floating bookmark window 😛 -
It is slightly annoying that you have to manually reinstall GetIt component packages on an upgrade like this.
-
looking for UI design ideas for tracking a process
Lars Fosdal replied to David Schwartz's topic in VCL
Individual ticket display - It depends a lot on the type of user. I know that our users that are non-PC aficionados, are uncomfortable with tree views. If the series of stages are sequential, I'd consider a segmented progress bar, combined with a panel with information on the status of the current stage in progress. Just to stay in line with my original example -
Well, technically I use RAD Studio - that has the C++ bit - but that is sort of a remnant from when the .NET stuff looked like it was going somewhere. Not sure if it is possible to downgrade from RAD Studio Enterprise to Delphi Enterprise. I never use the C++ bit even though I always install it for good measure. Point being: There is a relationship that goes heavily from C++Builder to Delphi, but which is very weak the other way around.
-
[IDidNotMadeThis] Delphi-DirectUI - a new set of UI controls based on Graphics32
Lars Fosdal replied to Edwin Yip's topic in I made this
I replaced the URL. -
Indeed it is only outbound. All inbound activity is TCP/UDP oriented.
-
I wonder what kind of effect that has on f.x. FireDAC? We use the SQLNCLI11 and MSOLEDBSQL drivers in heavily multithreaded services. We also use OLE objects in DLLs created a decade and a half ago against our ERP system.
-
[IDidNotMadeThis] Delphi-DirectUI - a new set of UI controls based on Graphics32
Lars Fosdal replied to Edwin Yip's topic in I made this
If that is the case, I would suggest that we remove the reference to it, @Edwin Yip -
I checked our sources. We normally never use CoInitializeEx, explicitly, just CoInitialize, but I guess that depends on the requirements of the OLE control.
-
[IDidNotMadeThis] Delphi-DirectUI - a new set of UI controls based on Graphics32
Lars Fosdal replied to Edwin Yip's topic in I made this
I am struggling with the comments in the source code 😄 -
Seriously...
-
CoInit/CoUnInit should run only once per thread.
-
Delphi 7 is a lot slower on Windows 10 (compared to Win7)
Lars Fosdal replied to Yaron's topic in Delphi IDE and APIs
I'd consider running an old Windows in Hyper-V to host the Delphi 7. -
The API looks like standard REST and JSON format. https://developer.salesforce.com/docs/atlas.en-us.226.0.api_rest.meta/api_rest/intro_what_is_rest_api.htm Should be doable with Delphi. There also is a SOAP API, it seems.
-
where can I get general git process questions answered?
Lars Fosdal replied to David Schwartz's topic in General Help
GitHub and GitLab has forums, but I don't know of any "independent" git forums, as most people probably use one of the forementioned git services. -
looking for UI design ideas for tracking a process
Lars Fosdal replied to David Schwartz's topic in VCL
If I take the liberty of making some assumptions about these states Normal States Prepared On-boarded In Progress Completed Wait states On hold / problem / issue Waiting for more info Pending signoff I could consider the following grid view, with Id identifying f.x. an order of some sort. If you select a line and/or hover over a cell - you could have the details in a panel or popup. The "perfect" day would be all green and no icons. Edit: I clearly didn't read all of the initial post before starting my design - but well - the signoff stages could be more signoff cells.