If Interface cannot be used
|[Top] [Chapter] [Previous] [Next]|
If the parameter Contents is not accessible as interface IWPFieldContents you can also load the text using Memo.SelText. The TextCursor methods can also be used inside this event and the field text is selected while the event is active.
In Visual FoxPRO this can be helpful:
ThisContents=GETINTERFACE(Contents, "IWPFieldContents", "WPTDynInt.ocx")
Tip: In case You cannot use the event, You can can enumerate the fields using TextCursor.CPMoveNextObject.