

Lajos Juhász
Members-
Content Count
1063 -
Joined
-
Last visited
-
Days Won
15
Everything posted by Lajos Juhász
-
Delphi 12 Update 1 is not displayed in the IDE About dialog
Lajos Juhász replied to PeterPanettone's topic in Delphi IDE and APIs
This is a patch, not an update it should only change the Version. -
Weird error on latest SVN source release build with D12 (fix versio)
Lajos Juhász replied to Tommi Prami's topic in GExperts
(In case of Delphi 12 patch 1 (it's not officially 12.1) a clean all was required before I could compile a project group. I have tried before to uninstall design time packages that was not enough to remove the Access Violation when I tried to compile. After clean all I was able to compile.) -
How to call a Delphi function from a python script?
Lajos Juhász replied to softtouch's topic in Python4Delphi
-
Weird error on latest SVN source release build with D12 (fix versio)
Lajos Juhász replied to Tommi Prami's topic in GExperts
In that case you was lucky or you are not using packages often. This error can appear at no reason, you have to recompile the packages and everything should work fine. -
Delphi 12.0 Athens is not correctly installing the Android SDK
Lajos Juhász replied to scamp's topic in Cross-platform
Since a long time Windows 10 is reuqired to install the Delphi IDE. You can compile applications for older versions of Windows but the dev. machine should be at least Windows 10. I am not aware if there a possibility to install it on Windows 7. -
There should be 32 bit clients for every database server. I doubt that every application that is connecting to database has moved to 64 bit.
-
You should be able to do so. I've done for Informix. At design time I use the 32bit ODBC driver while when compiled as 64 bit application runtime the 64bit driver.
-
procedure TForm1.Edit1Change(Sender: TObject); Var i: Integer; lFilteredList: TStringList; Begin lFilteredList:=TStringList.create; try if trim(Edit1.text)<>'' then begin for i := 0 to list_global.Count - 1 do if pos(Edit1.text, list_global[i]) > 0 then lFilteredList.Add(list_global[i]); end; if lFilteredList.count=0 then listbox1.items.assign(list_global) else listbox1.items.Assign(lFilteredList); finally lFilteredList.Free; end; End;
-
procedure TForm1.Edit1Change(Sender: TObject); Var i: Integer; Begin listBox1.Clear; if trim(Edit1.text)='' then listbox1.items.Assign(list_global) else begin for i := 0 to list_global.Count - 1 do if pos(Edit1.text, list_global[i]) > 0 then listBox1.Items.Add(list_global[i]); end; End;
-
It is a general algorithm. For search you loop to the items. While for search you have to maintain the data in order to insert into the components the values that match the criteria.
-
Delphi 12: Invalid class typecast
Lajos Juhász replied to PeterPanettone's topic in MMX Code Explorer
I would bet on the contact information at https://www.mmx-delphi.de/ there is a link legal notice with contact details. -
System.Math.InRange implementation: Why with separate booleans?
Lajos Juhász replied to HaSo4's topic in RTL and Delphi Object Pascal
There was a discussion about this function already at this forum: -
Delphi 12 Application showing two windows on the taskbar?
Lajos Juhász replied to Chris1701's topic in VCL
I cannot reproduce your bug using Delphi 12. -
You can fix it by changing your code.
-
Delphi is strongly typed language you cannot modify the signature of an event. In order to find out which button was clicked you should the sender parameter of onClick: procedure TForm1.btnClick(Sender: TObject); var c : TComponent; begin if Sender is TButton then // <--- the name of the class of the button begin c:=Self.FindComponent('IM_'+TButton(Sender).Tag.ToString) ; ........ You should never use Form1 inside a method of the TForm1 that's a bad design you're locking the implementation to that one reference instead you can write Self.FindCompoent or leave out self and write FindComponent. Please try not to use With it's an evil language contruct that has no place in modern code.
-
PPPoW simply for Delphi XE Starter
Lajos Juhász replied to PavelOu's topic in Network, Cloud and Web
it's a comment for other users of the forum. In case you don't want to communicate for others you don't have to write anything. -
An issue could be also that a newer version of Delphi could require source code changes to be able to work with newer version of Android. Please do remember that nor platform support (due to changes at platform level) and fmx are not solid. From version to version there are required changes in order to get a correct output.
-
This is really not enough information to help you. You should post some code and the error messages that you recieve.
-
How to install a new version of Delphi without losing components
Lajos Juhász replied to Dan1979's topic in Delphi IDE and APIs
In Delphi components are not binary compatible between major releases. You will have to modify your existing components or obtain the version for Delphi 11. After that you have to compile and install runtime packages. That's the main reason why there is no automatic option to obtain installed components from a previous versions. PS. Usually it requires a minimal change in the source to move a component to the next version of the Delphi. In case of the same version of the Delphi in 2 separate computers there is a migration tool, I've never used it. -
Regex is a new requirement in this thread.
-
Pascal Script was also a good scripting language it's unfortunate that is dying slowly.
-
FYI - Several Embarcadero services are currently unavailable
Lajos Juhász replied to Keesver's topic in General Help
Nice idea, maybe they should by a licence. -
FYI - Several Embarcadero services are currently unavailable
Lajos Juhász replied to Keesver's topic in General Help
The Quality Portal is back online. Docwiki is still have issues, it starts loading (blue background) then: #0 /var/www/html/shared/BaseWiki31/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1134): Wikimedia\Rdbms\Database->reportConnectionError('No route to hos...') #1 /var/www/html/shared/BaseWiki31/includes/libs/rdbms/loadbalancer/LoadBalancer.php(749): Wikimedia\Rdbms\LoadBalancer->reportConnectionError() #2 /var/www/html/shared/BaseWiki31/includes/GlobalFunctions.php(2801): Wikimedia\Rdbms\LoadBalancer->getConnection(0, Array, false) #3 /var/www/html/shared/BaseWiki31/includes/cache/localisation/LCStoreDB.php(45): wfGetDB(-1) -
I believe that the implementation of the shiny feature to show which part of the code is active broke the IDE (Delphi 12). I've tried to enter: {$Define DebugCOM} Nothing special, unfortunately after this the editor stopped receiving keyboard imput, I was still able to navigate using the mouse but when I tried to close the project the error message was: Instance of Class TEditSource has dangling reference count of 1. Did anyone noticed something similair? I would like to create a test case to report it to the QP.
-
I don't use it often. In this case I have decided that instead of commenting out the code for debugging the COM communication I am will place it inside a conditional block. The IDE went completely mad when I closed the IDE it was an Access Violation.