-
Content Count
211 -
Joined
-
Last visited
-
Days Won
5
Posts posted by haentschman
-
-
-
Hi...
QuoteThat's all
After the delphi restart the packages are enabled again.
-
QuoteGoogle "disable live bindings"
I think, it was a joke... Google: "delphi disable live bindings" site is not funny.
the answer is:
QuoteRelated post: https://forums.embarcadero.com/message.jspa?messageID=934167
And I have just disabled livebinding by renaming all the 4 .bpl files on disk:
dclbindcomp180.bpl dclbindcompdbx180.bpl dclbindcompfmx180.bpl dclbindcompvcl180.bpl
-
QuoteI disabled the 3 LiveBindings libraries
Please give a tutorial...
- 1
-
-
Hi all...
did you ever see when the stackoverflow thread was written?
Quoteasked Dec 24 '15 at 10:48
-
Hi...
BC -> Before Christ
-
Hi...
Definitely yes. The advantage of inheritance is that when you make changes in the base form, you have the same changes in the other forms.
Caution: With too many inheritance levels the overview is then again bad. I prefer max 3 levels.Example (picture): Form.ChoiceFilesDialog -> Form.BaseDialog -> Form.Base
- 1
-
-
Hi...
TortoiseGit with overlay icons in the explorer and BeyondCompare as Merge/Diff Tool.
- 2
-
Now all we need is a Twitter account... I don't have one.
-
QuoteI'm flipping between the Test and Live connections
[Breainstorming ]
Version1:
In my applications i have a Interface for every database system. In the interface all queries are created dynamically. The connection is created in this interface. All use this connection...
For you: Give your datamodule a public property (example: "CurrentConnection") . Connect all queries with this "CurrentConnection". If you change the "CurrentConnection" with the "LiveConnection" then the queries works with the "LiveConnection".
Datamodule.... private FCurrentConnection: TFDConnection; public property CurrentConnection: TFDConnection; ... // All queries Query.Connection := FCurrentConnection; Application... Datamodule.CurrentConnection := FDLiveConnection; // or Datamodule.CurrentConnection := FDTestConnection;
Version2:
Create separate INI with the connection string for Test / Live. Over a build configuration the application loads his own INI.
-
Hi...
Quote...and over 20 FDQueries for all the tables
...I'm having to re-specify the sql query in code several times throughout the application.
...It seems to me that this isn't very good coding/design
...another variant: https://en.delphipraxis.net/topic/219-dimowa®-sql-resource-creator/
QuoteA tool that manages the resource strings according to the tutorial mentioned in the german link (https://www.delphipraxis.net/49505-sql-dateien-als-resource-einbinden.html).
This is another way to manage SQL statements. The SQL are stored in separate files in a folder structure in the project. SQL can be tested in the preferred DBMS editor.
Important: SQL Statements OUTSIDE of the Sourcecode (pas, dfm) in resources *.res. (without SQL.Add; SQL.Add; SQL.Add... )
-
QuoteUwe Schuster
...everybody knows it...i think
-
Hi all...
QuoteNow if you would also have the "old" Object Inspector Expert from Uwe ..... that would be a dream !
The last version was imho XE. I've written to Uwe before... without an answer. Everyone who knows Uwe has no contact more...
@Uwe Schuster: We need only the SourceCode...please.
-
Perfect for GIT... But you have to know that you have to learn a lot to use it wisely.
Tutorials:
- 1
-
Hi...
QuoteWe
...how many users?
My favorite is GIT. But NOT over the IDE. I use TortoiseGIT. It looks like the explorer with overlay icons. ...and WITHOUT console.
- 3
-
You miss understand. I aggree with you... I am a fan of Enumerations.
Better:
If you MUST work with it permanently, you want meaningful names.
Sorry.
- 1
-
Quoteenumeration and use meaningful names
I have an old project in maintenance. This is full of bit operations. If you don't work with it permanently, you want meaningful names.
- 1
-
...for Bruno.
-
I miss OfficeBlue style...
-
Hi...
...nobody interested in this? ... crazy
-
Hi...
...one is still missing. The film https://en.wikipedia.org/wiki/The_Hitchhiker's_Guide_to_the_Galaxy_(film)
-
Hi...
Quotei am not a member of the German-speaking "Praxis"
Why? It take 5 minutes...
"Delphi High Performance" eBook free on Packt today.
in Tips / Blogs / Tutorials / Videos
Posted
Sorry...It was my fault... NoScript was ON
Thanks...