Jump to content

Edwin Yip

Members
  • Content Count

    433
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Edwin Yip

  1. Edwin Yip

    best way to display a list of panels?

    I was in the same shoe with yours and I ended up using a similar approach like what @aehimself described, and actually his approach solves the issue you described. I don't see any other approach better than this in terms of flexibility with the current implementation of VCL. I think the keys are: use a client-aligned TScrollbox to get unlimited amount of rows. Add the frames one after one. To solve the splitter mis-position issue, use the Tag property of the frames to map a pair of frame and splitter, and correct the position error by using something like `TSplitter(frames.Tag).Top = frames.Top + frame.Height`. Note, the standard TSplitter has the same issue you described. Not sure if there is another way to solve it.
  2. Edwin Yip

    PyScripter reached 1 million downloads from Sourceforge

    I tried it many years ago. I'll use it if I use Python, because I can customize anything with Delphi! Well done @pyscripter!!
  3. Edwin Yip

    TEdit with enhanced keyboard support?

    Is there an enhanced TEdit (single-line edit, not multi-line editing such as TSynEdit) with enhanced keyboard support? By enhanced keyboard support I mean for example, Ctrl+Backspace to delete a word, and so on.
  4. Edwin Yip

    TEdit with enhanced keyboard support?

    And it seems that the HeidiSQL author went for another approach. Will check it later.
  5. Edwin Yip

    TEdit with enhanced keyboard support?

    But followed this HeidiSQL discussion this approach seems to be too issue-introducing...
  6. Edwin Yip

    TEdit with enhanced keyboard support?

    Did a full text search of `SHAutoComplete` into my repositories and I couldn't believe I already have (but forgotten) a TEdit-derived control which already uses this trick, the code looks like: [UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.AllWindows)] procedure TEyEdit.CreateWnd; begin inherited; //enable ctrl+backspace: http://stackoverflow.com/a/10305706/133516 SHAutoComplete(Self.Handle, SHACF_AUTOAPPEND_FORCE_OFF or SHACF_AUTOSUGGEST_FORCE_OFF) end;
  7. Edwin Yip

    TEdit with enhanced keyboard support?

    To be specific, which component?
  8. Edwin Yip

    RTF components or simple RTF editor?

    But SynEdit doesn't even perform line breaking correctly... Quite a showstopper...
  9. Edwin Yip

    RTF components or simple RTF editor?

    why not just use TRichEdit? On the other hand, TJvRichEdit of the JVCL package is an enhanced rich editor.
  10. As demonstrated in the following animated GIF, it's very convenient to be able to quickly switch between the 'editor maximized' mode and 'editor with sidebars (Inspector, MMX, etc)' mode in the IDE, by double clicking on the editor tabs. I'm not sure since which version this feature was introduced, but at least it exists in my XE4. The question - how to make it even more convenient by allow us to press a shortcut and perform the above mode switch? Is there a built-in hotkey for that? if not, there is an IDE plugin that does this? Thanks!
  11. And middle click can close Chrome tabs, which I also didn't know before
  12. You are right, seems to be a feature of DDevExtensions.
  13. That works! I didn't know middle click can close the file! Thanks Anders!
  14. Yes, I have DDevExtensions installed, and I don't really remember if it's not installed the current editor tab double click action will still work or not. In a perfect world, I want to use the CNPack's editor double click action (close the file), and use a keyboard shortcut to invoke the editor zooming action. Yes, in a perfect world :)
  15. I think the main factor is the background color of the editor, right? That nice green color really eases my eyes and I've not changed that since the first day I started enjoy using it. @David Hoyle like the same color too, IIRC :)
  16. Thanks for the explanation Anders, but it's definitely not what I meant, what I mean is demonstrated in the attached animated gif below.
  17. Sorry, not sure I understand you, but [Alt]+V E opens the 'Templates' sidebar [Alt]+[Space] X does complete the 'XSAVE_FORMAT’ symbol in the unit I tried.
  18. @dummzeuch, you might know something about this? :D
  19. You might misunderstood my question. Yes, CNPack can change the behavior from 'maximizing/restoring the editor area' to 'closing the editor file', and I don't enable that CNPack option. My question is not that maximizing/restoring the editor area is not working, it works. what I ask is - can I press any keyboard shortcut to invoke the 'maximize/restore editor area' function?
  20. @Vandrovnik, thanks. I work in docked mode, and F5 doesn't work
  21. Well done! BTW, why don't put it in a github repository as usual?
  22. I use both git and svn. Actually, I mean, VCS for developers, solo or a team, is a must-have like IDE.
  23. It's 2020, not sure if this topic is still worth discussing :)
×