-
Content Count
1406 -
Joined
-
Last visited
-
Days Won
22
Everything posted by programmerdelphi2k
-
Disable then Enable a Procedure
programmerdelphi2k replied to Henry Olive's topic in RTL and Delphi Object Pascal
it would be this? private/public TForm1.myproc(Sender: TObject); .... form1.dbgridDblClick := nil; .... in another place form1.dbgridDblClick := myproc; -
JEDI Installation Annoyances 10.4
programmerdelphi2k replied to PeterPanettone's topic in Tips / Blogs / Tutorials / Videos
try in CMD prompt... on Bin folder from RAD execute the compiler EXEs, like dcc32.exe and see resulted... it's ok or not -
JEDI Installation Annoyances 10.4
programmerdelphi2k replied to PeterPanettone's topic in Tips / Blogs / Tutorials / Videos
RAD Studio in Trial version or Community? -
JEDI Installation Annoyances 10.4
programmerdelphi2k replied to PeterPanettone's topic in Tips / Blogs / Tutorials / Videos
RAD Studio in Trial version or Community? -
Failed to install JCL on Delphi 11.3
programmerdelphi2k replied to Die Holländer's topic in Delphi IDE and APIs
ok! just have a fun... -
JEDI Installation Annoyances 10.4
programmerdelphi2k replied to PeterPanettone's topic in Tips / Blogs / Tutorials / Videos
Look, I did download now ( I said "NOW"... 2023/Mar/07) and I did this... from this https://github.com/project-jedi/jcl (like initial post) https://raw.githubusercontent.com/project-jedi/jedi/master/jedi.inc NONE ERROR AND INSTALLed BY JEDI SETUP ON RAD 11.3 run install.bat as "ADMIN" -
JEDI Installation Annoyances 10.4
programmerdelphi2k replied to PeterPanettone's topic in Tips / Blogs / Tutorials / Videos
tip1: maybe (I said "maybe..."), you can look on the order "Requires section" and try compile each one... ok it's not desirable... but sometime works! after this, "RE-ORGANIZE IT (up and down) save your project-setup tip2: right-click on "package name" and see if "INSTALL" is showed or not! if yes, then, is a "design-time" ... just install it! -
you can update your SDK/NDK just using command-line in your setup: SDKManager.bat is in "...\cmdline-tools\bin" sdkmanager.bat --sdk_root=<<Path root of your Android SDK>> --List (from google) // or --List_Installed (from PC) // list all packages names etc... sdkmanager.bat --sdk_root=<<Path root of your Android SDK>> "build-tools;31.0.0" "cmdline-tools;v5" // packages names etc... <<Path root of your Android SDK>> = D:\SDKsRAD\AndroidSDK25RAD113 (example)
-
Failed to install JCL on Delphi 11.3
programmerdelphi2k replied to Die Holländer's topic in Delphi IDE and APIs
tip: normally, when downloading from GetIt (if not an EXE), all sources stay on "..\CatalogueRepository" then, you can look and do the changes if you need... later, manually install it -
How to register a shell property sheet for a single file type?
programmerdelphi2k replied to FPiette's topic in Windows API
sorry (im trying undertand more about)... { GUID } -> is it appointing to real exe/dll/ocx app = ProgID HKEYS_CLASSES_ROOT == * (all files) MSWin10 has this {C7657C4A-9F68-40fa-A4DF-96BC08EB3551} by default "Photo Thumbnail Provider" -
do you have all DLL in the same place? https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Connect_to_MySQL_Server_(FireDAC)
-
How to register a shell property sheet for a single file type?
programmerdelphi2k replied to FPiette's topic in Windows API
@FPiette sorry ... really I think that was about association... 😁 ok, im get out here sorry again... im not has intimity with "prop-sheets" at all -
How to register a shell property sheet for a single file type?
programmerdelphi2k replied to FPiette's topic in Windows API
my fault.... sorry! -
Is it possible that an exception does not inherits from Exception class?
programmerdelphi2k replied to Wagner Landgraf's topic in RTL and Delphi Object Pascal
as rule, the "order" help you when exception can occurs... but it's a paranoic way not? type ENotRelated = exception; procedure TForm1.Button1Click(Sender: TObject); begin try raise ENotRelated.Create('help help'); except on E: EDivByZero do // a specific exception ShowMessage('Ok, Im Specific'); // on E:XXXX do .... on E: exception do // a generic exception ShowMessage('Ok, Im Generic'); // by default, these line will be called... else // anyother not related... ShowMessage('Ok, Im ELSE'); end; end; -
Is there any way to save / restore the position of the Debug Inspector?
programmerdelphi2k replied to dummzeuch's topic in Delphi IDE and APIs
As shown in the title bar of the mini-window, a new thread (each Debug) is launched every time the "Inspector" function is called... so the window is created in its own environment. Trying to save the mini-window's new position, and then saving the Desktop.Dsk file again, as you've seen, doesn't work. Even if you put a "read-only" attribute on the file, the IDE does the following: it checks that the file is write-protected, and creates a backup and a new Desktop.dsk file, this way it is not possible use this "hack". It could be possible to change only the values referring to the "Inspector" in the section "[PropInspDesignerSelection]", however, as a new mini-window is created at each call of the "inspector", this also does not seem to work for me here. [PropInspDesignerSelection] .. ExpandedItems=Anchors=0,BorderIcons=0,Constraints=0,Font=0,ImageMargins=0,LiveBindings=0,"LiveBindings Designer=0",Margins=0,GlassFrame=0,HorzScrollBar=0,Action=0,"Drag Drop/Docking=0","Help and Hints=0",Input=0,Layout=0,Legacy=0,Linkage=0,Locale=0,Localizable=0,Miscellaneous=0,Visual=0,Padding=0 Just out of curiosity, after changing the position of the miniwindow and resaving the Desktop.dsk, I saw that the values are changed in at least 10 different places inside the Desktop.dsk file. And in the registry, there is no reference to changes, at least here in my test. it's all on-demand, as expected! -
How to register a shell property sheet for a single file type?
programmerdelphi2k replied to FPiette's topic in Windows API
my fault sorry... -
Is it possible that an exception does not inherits from Exception class?
programmerdelphi2k replied to Wagner Landgraf's topic in RTL and Delphi Object Pascal
maybe this can happens because the many languages use a "CLR" as proxy (between original language and platform target) then, I think that can happens in rare case... https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/exceptions/ https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/exceptions -
it's rigth! really if yourS forms had any reference these fields in "Design-time", for sure this can happens. in my case, I had only 1 form... producing this anomaly
-
How do i control the Login Form shape of Datasnap Rest Service
programmerdelphi2k replied to mazluta's topic in VCL
@mazluta thanks for words... I try 😁- 10 replies
-
@Patrick PREMARTIN I know about this... my question was "if Phillip" would can and would like try it" until solve the last problem: wait support solution.
-
in rare moments this happens to me, then, I have a form that always works: if necessary copy your SQL expression... delete (not COPY/PASTE) the FDQuery, save the project, and re-add the FDQuery (new component)! I think the reference is in the project's resource file, but I'm not sure as it's a binary file! *.RES
-
How do i control the Login Form shape of Datasnap Rest Service
programmerdelphi2k replied to mazluta's topic in VCL
all response is done by html, then, you can create yourself "page html" and use it as your Login page!!! see the "...\Project1\templates, ..Project1\css, ...Project\images" folders ... see the templates default: reversestring.html, serverfunctioninvoker.html or you can use the a "TPageProducer" component and link to "PageXXXX.html" or just type your "hmtl code" in HTMLDoc property!!! you can use any HTML tags, include CSS for create your layout with all valid tags! no needs 3rd at all- 10 replies
-
How do i control the Login Form shape of Datasnap Rest Service
programmerdelphi2k replied to mazluta's topic in VCL
you can try "just comment this line on source" procedure TWebModule1.ServerFunctionInvokerHTMLTag(Sender: TObject; Tag: TTag; const TagString: string; TagParams: TStrings; var ReplaceText: string); begin ... else { if SameText(TagString, 'serverfunctioninvoker') then if AllowServerFunctionInvoker then ReplaceText := '<div><a href="' + string(Request.InternalScriptName) + '/ServerFunctionInvoker" target="_blank">Server Functions</a></div>' else } ReplaceText := ''; end; here the page is called if link is alive- 10 replies
-
How do i control the Login Form shape of Datasnap Rest Service
programmerdelphi2k replied to mazluta's topic in VCL
you can hide any function for users not-admin using "attributes" https://docwiki.embarcadero.com/Libraries/Sydney/en/API:Datasnap.DSAuth.TRoleAuth https://stackoverflow.com/questions/5354812/delphi-datasnap-authorization-not-repecting-troleauth-attribute customization can be done on events before send to client, or using a frameworks (3rd) like done by Intraweb, UniGui, etc...- 10 replies
-
my sample is using just 2 fields on Master, and 2 on Details, but you can use others setup ... your case I think that you needs a 3 fields on Master to fill 3 fields on Details! ...then, 3 indexes or 1 index with this 3 fields grouped!!! (not so good this way)