Jump to content

Uwe Raabe

Members
  • Content Count

    2750
  • Joined

  • Last visited

  • Days Won

    162

Everything posted by Uwe Raabe

  1. There simply is no license for older Community Editions than the current one. CE licenses are restricted to one year. After that one can get a new license but for the then current version only. If you need to use an older Delphi version you are supposed to buy a full Delphi version, where the license covers older versions, too.
  2. Uwe Raabe

    Custom component on a VCL frame

    I guess, that is not one of the use cases the developers had in mind when they designed the custom component system. AFAIK, you can either have subcomponents created dynamically with their properties stored as sub-properties of the outer component or you can have a frame stored in the object repository with derived instances in your project.
  3. Uwe Raabe

    Custom component on a VCL frame

    Can you show the code for the custom component?
  4. Yes, the problem is Windows 10 only.
  5. I managed to get it working with the following steps: In the registry add a subkey to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols named "TLS 1.3" Add another subkey to this new key named "Client" Add a DWORD to the Client key named "Enabled" with Value = 1 Add another DWORD to the Client key named "DisabledByDefault" with Value = 0 In the TRESTClient component of your example enable TLS13 in SecureProtocols Edit: You need to restart Windows to make the registry settings active.
  6. Currently removing the Windows Update seems the only solution.
  7. Uwe Raabe

    Delphi 11.2 Patch 1 bug ??

    That one is new with 11.2 and it is indeed enabled by it.
  8. $(SanitizedProjectName) gives the name of the project without extension.
  9. Uwe Raabe

    Issue in copy and past

    What does that garbage look like?
  10. Uwe Raabe

    Practical use of JSON and VCL components

    Every task is different. Describe your task in detail and one can give some hints how to use these components for this task. You don't need a separate set of components for each part. The same components can be used in sequence with changed properties.
  11. Uwe Raabe

    rest json, RestRequest

    You can get the complete URL from TRESTRequest.GetFullRequestURL and the payload from TRESTRequest.Params.ParameterByName('body').Value (check for a nil parameter in case there is no body at all)
  12. Uwe Raabe

    Replacing Apostrophe

    There also is a built-in function to decode HTML text: uses System.NetEncoding; ... var S := TNetEncoding.HTML.Decode(sHtml);
  13. Uwe Raabe

    Application.MainForm v Self v Nil??

    Application.MainForm is set with the first TForm created with Application.CreateForm.
  14. Uwe Raabe

    Application.MainForm v Self v Nil??

    Sorry, but I don't understand your question.
  15. Uwe Raabe

    wuppdi Welcome Page for Delphi 11 Alexandria?

    None that I am aware of. So far a I was under the impression to be able to find the cause in my own code.
  16. Uwe Raabe

    DBRadiobutton

    Are you sure that the dataset is open?
  17. Uwe Raabe

    DBRadiobutton

    Actually that is exactly the way to do it. It just seems that setting the Checked property of TDBCheckBox is not propagated to the underlying field. I need to investigate that and file a bug report as soon as time allows. As a workaround don't set the Checked property but the field value directly: chk.Field.AsBoolean := chk = Sender;
  18. Uwe Raabe

    DBRadiobutton

    @haentschman Not all of the lower numbers still exist...
  19. Uwe Raabe

    DBRadiobutton

    Oh, now I understand what you want to achieve. One solution would be to wire this event handler to each TDBCheckBox inside the TGroupBox: var DisableEvent: Boolean = False; procedure TForm747.DBCheckBoxClick(Sender: TObject); begin if DisableEvent then Exit; DisableEvent := True; try var grp := (Sender as TControl).Parent as TGroupBox; for var I := 0 to grp.ControlCount - 1 do if grp.Controls[I] is TDBCheckBox then begin var chk := TDBCheckBox(grp.Controls[I]); chk.Checked := chk = Sender; end; finally DisableEvent := False; end; end;
  20. Uwe Raabe

    DBRadiobutton

    I cannot reproduce that. If I have several TDBCheckBox inside a TGroupBox each can be switched independently.
  21. Uwe Raabe

    Delphi 11.2 Patch 1 bug ??

    The patch does not enable that, but IIRC it is standard behavior since 11.2.
  22. Uwe Raabe

    DBRadiobutton

    Can you please give an example?
  23. Uwe Raabe

    11.2 Patch 1 is out

    You need more patience:
  24. Uwe Raabe

    TDBTable - dynamically create fields

    The FieldName is always taken from the database, so you cannot force that. You can change the Name and DisplayLabel after the fields are created. For static fields that is not a problem, but dynamic fields simply don't exist before Open. Therefore AfterOpen is a good place to do. The data type is derived from the type in the database and you have only limited influence on that. At the end, what you are doing is rather unusual, so I assume you are trying to solve another problem using a wrong approach.
  25. Run the for-loop from 1 to length.
×