Jump to content

programmerdelphi2k

Members
  • Content Count

    1406
  • Joined

  • Last visited

  • Days Won

    22

Everything posted by programmerdelphi2k

  1. programmerdelphi2k

    Disable then Enable a Procedure

    it would be this? private/public TForm1.myproc(Sender: TObject); .... form1.dbgridDblClick := nil; .... in another place form1.dbgridDblClick := myproc;
  2. programmerdelphi2k

    JEDI Installation Annoyances 10.4

    try in CMD prompt... on Bin folder from RAD execute the compiler EXEs, like dcc32.exe and see resulted... it's ok or not
  3. programmerdelphi2k

    JEDI Installation Annoyances 10.4

    RAD Studio in Trial version or Community?
  4. programmerdelphi2k

    JEDI Installation Annoyances 10.4

    RAD Studio in Trial version or Community?
  5. programmerdelphi2k

    Failed to install JCL on Delphi 11.3

    ok! just have a fun...
  6. programmerdelphi2k

    JEDI Installation Annoyances 10.4

    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"
  7. programmerdelphi2k

    JEDI Installation Annoyances 10.4

    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!
  8. programmerdelphi2k

    Alexandria 11.3 and Android 13 (part 2)

    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)
  9. programmerdelphi2k

    Failed to install JCL on Delphi 11.3

    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
  10. programmerdelphi2k

    How to register a shell property sheet for a single file type?

    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"
  11. programmerdelphi2k

    Firedac and SSL

    do you have all DLL in the same place? https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Connect_to_MySQL_Server_(FireDAC)
  12. programmerdelphi2k

    How to register a shell property sheet for a single file type?

    @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
  13. programmerdelphi2k

    How to register a shell property sheet for a single file type?

    my fault.... sorry!
  14. 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;
  15. 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!
  16. programmerdelphi2k

    How to register a shell property sheet for a single file type?

    my fault sorry...
  17. 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
  18. programmerdelphi2k

    Deleting a Field Problem

    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
  19. programmerdelphi2k

    How do i control the Login Form shape of Datasnap Rest Service

    @mazluta thanks for words... I try 😁
  20. programmerdelphi2k

    Delphi Registration

    @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.
  21. programmerdelphi2k

    Deleting a Field Problem

    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
  22. programmerdelphi2k

    How do i control the Login Form shape of Datasnap Rest Service

    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
  23. programmerdelphi2k

    How do i control the Login Form shape of Datasnap Rest Service

    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
  24. programmerdelphi2k

    How do i control the Login Form shape of Datasnap Rest Service

    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...
  25. programmerdelphi2k

    Refresh dbedit after insert

    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)
×