LMD VCL - LMD Packs: Difference between revisions

From LMD
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 14: Line 14:


==LMD RichPack==
==LMD RichPack==
===Which MS RichEdit DLL Version can I expect on a specific operating system?===
Please check list of different [http://blogs.msdn.com/murrays/archive/2006/10/14/richedit-versions.aspx RichEdit versions].
===Searching for specific attributes===
===Searching for specific attributes===
Q: I was trying out the LMD RTF wrapper (using BCB 6) and wanted to know what would be the best way to search for words or characters with a specific attribute.
Q: I was trying out the LMD RTF wrapper (using BCB 6) and wanted to know what would be the best way to search for words or characters with a specific attribute.

Revision as of 00:18, 11 June 2008

[edit]

<< Back to Overview page

LMD ShellPack

Using Paste/Copy commands at runtime

Copy: <delphi> if assigned(LMDShellList1.selected) then LMDDoContextMenuVerb( LMDShellList1, (LMDShellList1.Selected as TLMDShellListItem).ShellItem, 'copy'); </delphi> Paste: <delphi> LMDDoContextMenuVerb( LMDShellList2, LMDShellFolder2.ActiveFolder,'paste'); </delphi>

LMD RichPack

Which MS RichEdit DLL Version can I expect on a specific operating system?

Please check list of different RichEdit versions.

Searching for specific attributes

Q: I was trying out the LMD RTF wrapper (using BCB 6) and wanted to know what would be the best way to search for words or characters with a specific attribute. A:

  • Use FindTextEx
  • Check SelAttributes
    if attrs not ok then FindTextEx again.