LMD VCL - LMD Packs
From LMD
<< Back to Overview page
Contents
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.