-
Content Count
868 -
Joined
-
Last visited
-
Days Won
7
Everything posted by Stano
-
ShowModal does not show window after a few tries (It does not pop up)
Stano replied to ChrisChuah's topic in VCL
I'm not an expert, but in my opinion Action := caFree; frees things in the form, but not the form itself. I am happy to learn. Personally, I would just show and hide the form. It did not destroy and set to null. I don't know if such behavior is suitable for the given situation. I won't get involved in your business anymore. I can't do it -
ShowModal does not show window after a few tries (It does not pop up)
Stano replied to ChrisChuah's topic in VCL
In any case, I miss FDetailForm.Free; I don't know if it will help. -
An option I know of is to create your own component based/derived from e.g. Edit. Then follows the creation and installation of the package.
-
I would not receive an answer from the supplier until Monday. So I turn to this community. I found the following: I have Win 11. Delphi reports Win 10 and version D11.0. See attachments. I installed both patches. However, uninstalling and reinstalling Delphi didn't happen even once! The fact that something is wrong is reflected in the user environment. It doesn't work as it should. The initial installation was using a file on the disk: RADStudio_11_esd_1006491.exe 153.79 MB. As far as I know, I should be using the Web Install. She probably was, but probably weird. I don't know how to get to it from a clean PC, without using a file on disk. Do I have to install D11.00 + Patch1 + Patch2 sequentially? Or is directly Patch2 enough? Considering the short installation times, this is not so important. Thanks in advance and I hope for an early reply. I want to reinstall the whole thing so that I have it 100% correct. Installing third-party software is not a problem.
-
I was able to download the file for 11.1. It looks good. It prints W11
-
I've never seen it either. Note, there is also System.Math.IfThen
-
Delphi 10.4.2 won't open a specific .PAS file
Stano replied to MJBComp's topic in Delphi IDE and APIs
No issues were found to match your search Try modifying your search criteria I have a saying: my laziness, don't leave me! -
Delphi 10.4.2 won't open a specific .PAS file
Stano replied to MJBComp's topic in Delphi IDE and APIs
Better put a link here. Let us not look for it. I won't vote for you this way -
So in the WHERE section use EXISTS and there the appropriate SELECT. I "admire" people like you. You won't read the help, you won't give us the information we need and you'll insist on your own! If you were close at hand, you would have already gotten an earful
-
What is this: JOIN ORDERS O ON O.ID = OD.ID You did not show us the definitions of the tables. If you don't have a foreign key in the Detail tab, you have a bad DB design. Redo it. No, you have to delete the Master record, and DB will take care of deleting all linked records in Detail.
-
You are just like me. You are giving insufficient data, information. First, a supplementary question: do you want to first delete the records in the Detail table and then in the Master? Because if so, then I think you don't understand relational databases. I am convinced that you should deal with it in the definition of the table. You have a foreign key there. There should be DELETE CASCADE.
-
Delphi CE 10.4.2 - Command Line Compilation
Stano replied to PawelPepe's topic in Delphi IDE and APIs
Look at the properties of the file, the details. There you have the version... Give it here -
DBGrid repaint or refresh when dataset is refreshed
Stano replied to ChrisChuah's topic in Databases
It also depends on DB. One solution is to save the primary key of the current record. After refresh use it in Locate() -
Is it possible to see how compiler defines parameters?
Stano replied to Mike Torrettinni's topic in RTL and Delphi Object Pascal
Since I'm a layman, can you give a simple example here? To know what you mean. -
EoleException ???
Stano replied to abdellahmehdi's topic in Algorithms, Data Structures and Class Design
It probably worked by accident. Nobody knows how you generate primary keys. -
Community Edition expiring again, no new keys
Stano replied to Nigel Thomas's topic in Delphi IDE and APIs
We know everything that is written on this WEB Only the EMB does not know Unfortunately, they don't want to listen to us Managers are the smartest people in the world We're just crying over spilled milk here. -
EoleException ???
Stano replied to abdellahmehdi's topic in Algorithms, Data Structures and Class Design
What more do you want? The message is clear. You are giving the table a primary key value that does not exist in the linked table -
Hi, It's a DB navigator and I want to deploy IBDAC there instead of FireDAC. I have about 30 similar lines. [dcc32 Warning] JasotComponents.dpk(73): W1033 Unit 'IBCProps' implicitly imported into package 'JasotComponents' Compilation will fail. Tried to add some *.dcp file. I got a notification that it is already in the search path. I do not know what to do.
-
Interesting. It protested at these files C:\Program Files (x86)\Devart\IBDAC for RAD Studio 11\Lib\Win32\dac280.dcp C:\Program Files (x86)\Devart\IBDAC for RAD Studio 11\Lib\Win32\ibdac280.dcp It is satisfied with those and compiles C:\Program Files (x86)\Embarcadero\Studio\22.0\lib\win32\release\dac280.dcp C:\Program Files (x86)\Embarcadero\Studio\22.0\lib\win32\release\ibdac280.dcp
-
Now I ran the compile again and it doesn't report any problem I guess Delphi had a bad day yesterday. Thank you for your willingness and time. I forgot to rule it out. Cannot load package 'JasotComponents.' It contains unit 'DAScript', which is also contained in package 'dac280' I don't understand this message. uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, System.Variants, System.Generics.Collections, System.UITypes, System.Math, System.Generics.Defaults, Vcl.Controls, Vcl.Dialogs, Vcl.Forms, Vcl.ExtCtrls, Vcl.DBCtrls, Vcl.Menus, Vcl.Graphics, Vcl.StdActns, Vcl.ActnList, Vcl.PlatformDefaultStyleActnCtrls, Vcl.VirtualImageList, Data.DB, VirtualTrees, advpanel, advglowbutton, advgdip, advstyleif, Advcombo, DBComponents, DBAccess, DesignIntf, ActionManager, MemDS, IBC; [Fatal Error] The following changes are necessary to make this package compatible with other installed packages. Add dac280. Add ibdac280.
-
Well thank you. I haven't made a runtime package yet. I'll look into it. Won't it yell at me that it already has it in the search path? It doesn't make sense to me: he linked the files and the compilation fails. I don't have any (other) mistakes there.
-
Really. And they are "gentlemen" programmers. Because: the results can be surprising. How did the OP happen here. There are different date formats. For example, "1. 12. 2022". Oh, the spaces there are better features. For example EncodeDate. I do not question them and I arranged according to their recommendations. And I don't have problems anymore.
-
Sorry, google translator You can do a lot with Delphi IDE. I use one delphi subuser with different sets of installed components. Run command: "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\bds.exe" -pDelphi -rMyEnvironmentXYZ ensure that a brand new branch ../Embarcadero/MyEnvironmentXYZ is created instead of ../Embarcadero/BDS/22.0 in the registries. It's almost as if you installed a new delphi, normally the introductory wizard will start which theme you want to use, the IDE is completely reset almost like after a clean installation without any additional settings, you don't have any additional experts installed or any external components. Next, I will set it up so that all packages and their dcp and other compiled files are stored somewhere in Document/MyIDEworkspaces/MyEnvironmentXYZ. You have to play with it for a while and learn how to set everything up. Next, I copy the components that I want to use in the given XYZ environment to Document/MyIDEworkspaces/MyEnvironmentXYZ/daco/daco, and even after installation, all compiled files are placed in these directories. Next, I just zip the Document/MyIDEworkspaces/MojeProstredieXYZ directory and export the branch ../Embarcadero/MyEnvironmentXYZ from the registers, and after reinstalling the entire Widnows/delphi, you can easily transfer it to another computer if you have the same version of Delphi. I've been using it for years because I sometimes need to recompile old projects years later and it works like a charm. I think it's safer than trusting some tool, but I'm not saying that the migration tool shouldn't work. But exactly when I need to restore an environment after 12 years, it's better if I know exactly step by step how I did it, than if some tool did it for me, which I then lose and can't find...
-
It doesn't exactly belong on the Delphi forum. But so be it. We are not wise from the pictures. I just got my crystal ball in the service. No description, no code... First of all, check what you have in the DataSet. Duplicate data? There is an option "Do not show duplicates". I do not know exactly.
-
Um, anyway, I recommend going through all the options in Tools -> Options in detail. This is the best and easiest school.