LMD VCL - LMD Packs

From LMD
Revision as of 05:54, 16 March 2007 by Rafael (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
[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

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.