Jump to content

Attila Kovacs

Members
  • Content Count

    1936
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by Attila Kovacs

  1. Attila Kovacs

    Custom component on a VCL frame

    @aehimself I don't get it. I just created a new VCL Form Application plus designed two new frames, then added frame2 to frame1, without creating a custom component. What is the concept behind creating a compound component from a frame? You can also add code to the base frame and override it in the other places. I don't know any Bar Managers except Gunther, but to make a component fill up a given space is normally done with alignment.
  2. Attila Kovacs

    Custom component on a VCL frame

    just being the smart*ss, why are you mixing composite components with frames? can't you just put a frame onto an another frame?
  3. Attila Kovacs

    App is faster in IDE

    you could still put some explicit logging into your application to see where this 14 seconds delay is coming from instead of guessing
  4. Attila Kovacs

    Application.MainForm v Self v Nil??

    you could start here https://docwiki.embarcadero.com/RADStudio/Sydney/en/Components_and_Ownership
  5. Attila Kovacs

    AutoRun.Inf in USB

    I'm not sure if I can talk the english you understand. I'm telling the same. Except, there is no encryption software, it's hardware encrypted. The software only mounts the flash drive's 2nd partition with the entered password's hash. see https://www.verbatim.com/prod/usb-drives/professional-usb-drives/store-n-go-secure-pro/
  6. Attila Kovacs

    AutoRun.Inf in USB

    No, it has nothing on it, they are out of the box, the same as you are describing. Two partitions, one CD, one hardware encrypted. They exists very well nowadays too.
  7. Attila Kovacs

    AutoRun.Inf in USB

    Strange, all encrypted flash drives are autostarting its mounting application, they must be distributing themselves as CD-ROM.
  8. Attila Kovacs

    tedit hint not working

    Your button texts are colorful, that means you have visual styles turned off, but it's needed to show texthint
  9. Attila Kovacs

    tedit hint not working

    then why are you writing hint in the topic if you are such an eagle eye? otherwise no clue. debug the VCL
  10. Attila Kovacs

    tedit hint not working

    it works the opposite way, it's only shown if the edit is not focused
  11. Attila Kovacs

    tedit hint not working

    texthint is not hint, hint is empty and edit is focused so you can't see anything
  12. Attila Kovacs

    How should spaces after a comment be handled by the formatter

    why not? you could name it "The option I didn't want to implement #4223"
  13. Swap the orders, first "b)" then "1." That you can: I. Be sure you can fix something, so it's definitely broken. II. You can make a fix proposal (They will most probably fix it in an other way but it helps them to understand a problem and it's also represents the "expected" result. Such reports are processed faster.
  14. Attila Kovacs

    One large unit vs multiple small units

    The size does not matter. (tm) (dependencies do)
  15. Attila Kovacs

    Stumbled upon serious looking bug report

    @Vandrovnik How get you run that "unit" without touching it?
  16. Attila Kovacs

    Stumbled upon serious looking bug report

    Unit1.pas.20: begin 0041A868 55 push ebp 0041A869 8BEC mov ebp,esp 0041A86B 6A00 push $00 0041A86D 6A00 push $00 0041A86F 6A00 push $00 0041A871 53 push ebx 0041A872 8B5D08 mov ebx,[ebp+$08] 0041A875 8B5B0C mov ebx,[ebx+$0c] ebx is very well initialized
  17. Attila Kovacs

    Delphi Registration

    It's a really cool topic, especially the conversation between DH and KW :DDDD
  18. Attila Kovacs

    Delphi Registration

    You must be joking too. If you have a perpetual license and you can't install, you call the person who sold you and not anyone because you accidentally know about some internal stuff like license bumping or what is it. And if you would read Dalija's comment you would know that you are talking riubbish.
  19. Attila Kovacs

    Delphi Registration

    :DDDDD You have a sales problem (contract) and you contact the support => product is dying. You ppl. are so much fun.
  20. Attila Kovacs

    Open Unit Window

    I never liked any of the Open Unit implementations including MMX so I started a new pilot project. Main goal was to get the most out of it without mouse interaction. (Sorry for the blurry images, it's the forum itself) It looks like: bold - project files italic - opened normal - file in the directory at the end is the time since the last edit Multiple targets can be defined in a file called ".unitdirs" in the project root: @Combined;C:\Users\Jozsi\Documents\Embarcadero\Studio\18.0\Samples\Object Pascal\VCL\SearchBox;C:\Users\Jozsi\Documents\Embarcadero\Studio\18.0\Samples\Object Pascal\VCL\Sensors @Demos;C:\Users\Jozsi\Documents\Embarcadero\Studio\18.0\Samples\Object Pascal @MyStuff;C:\Projects\own\ClipboardWizard\.mystuff it's basically: @Caption;target1;targetN... target can be a directory or a file like .mystuff is a file, containing: C:\Projects\own\ClipboardWizard\BaseDockForm.dfm C:\Projects\own\ClipboardWizard\BaseDockForm.pas C:\Program Files (x86)\X-Files Software\X-DBGrid Component\X-DBGrid77\Help\XFiles.pdf Yes, pdf too. It can be defined (in the source code for now) which extensions are shellexecuted, the rest is opened in the IDE. With Ctrl-F12 you open this window, with further Ctrl-F12's it's cycling through ".unitdirs" (see above). With a single F12 it jumps back to the project files. There is more. As the IDE has all the classes loaded (obviously the default ones and the ones you installed before), it's easy to make a dfm preview. (no linked things like images from another datamodule though) I love fishfacts. I have many other ideas but little time. I could share this next week when I'm back in the office and anybody want's to try or enhance it. It's just a pilot project fo rme.
  21. Attila Kovacs

    Open Unit Window

    Yes, it's just the LastWriteTime to get some orientation where were we before lunch. But you could query the source control system in a background task, excellent idea!
  22. Attila Kovacs

    Open Unit Window

    Yes you are rigth, It's on my list already because absolute paths are pita.
  23. Attila Kovacs

    How to synchronize splitters?

    you should have a flag which describes if the message are coming from the mouse or from the window proc of the other splitter and if it's not the mouse, skip the feedback
  24. Attila Kovacs

    How to synchronize splitters?

    OnAlignInsertBefore OnAlignPosition
×