Readonly Property |
[Top] [Chapter] [Previous] [Next] |
Applies to Declaration bool Readonly; Description If this property is true the text is readonly, the user cannot insert or delete text. If you this property to true also the modifications to table width and object size is disabled. Tips: a) You can use SetBProp to adjust the protection i.e. SetBProp(0,10,1) makes the text readonly but the user can still change table widths. b) To disable the possibility to select text and move the cursor use Memo.SetBProp 2, 0, 1 ' wpDisableSelection Memo.SetBProp 2, 1, 1 ' wpDisableCaret |