Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Share Me

  • Please share this topic with your friends. Click any of the icons below:
  • Twitter
  • facebook
  • reddit
  • email

SyntaxEdit and Find Find/Replace Dialog

I'm using LMDEditExecFindDialog() to display the find dialog for SyntaxEdit.

One thing that would be REALLY USEFUL is if the find and find/replace dialogs remembered their last positions and sizes. It's really annoying when someone has to resize or reposition these dialogs constantly.

What is the easiest way to have a Find dialog (and Find/Replace dialog) that remembers its size (width being most important) and (preferably) also its position? Could you add some properties to TLMDEditSearchDlgOptions for the dialog size and location and track them that way?

Or what is the best way for me to implement this in my application?

Thank you!


  • 5 Comments sorted by Votes Date Added
  • Hi,

    We will consider this feature for the next release. Its probably not so complex to implement, and I think, its will be usefull addition.
  • Great, thank you. I agree that it would be very useful and should be easy to implement.

    Oh, on a related note, when you try to resize the find dialog and the replace dialog vertically, the vertical double arrow appears to indicate that this is possible, but vertical resize of these dialogs is not possible, only horizontal resize. Not a big deal but if you can easily fix this then I think you should.
  • edited December 2017 Posts: 89Vote Up0Vote Down
    So I downloaded the latest version and it does not appear that this change was made. :( I really wanted to include this in my next major release but I guess that won't happen.

    Can this be improved for the next release? I'd really like the find and find/replace dialogs to remember their position and sizes... at least during a single run.
  • Done. 

    I've added Position property for Find and Replace dialogs (and corresponding low-level functions options). Also, new FindDialogPos and FindDialogWidth global variables, which allow to store dialogs position, have been added.
  • Great! Thank you!
Sign In or Register to comment.