trichview.support
Re: Disable Table Resize |
Author |
Message |
Pieter Zijlstra |
Posted: 07/22/2005 1:01:34 TuckWai wrote: > Now the table can't be resized but i tried this on the cells but i > don't seem to work. Any suggestion? Sorry I misread your original question. See help on TRVTableItemInfo, property Options, it has two default items which can be excluded. Something like... var i: Integer; table: TRVTableItemInfo; begin with RichViewEdit1 do for i := 0 to RVData.ItemCount - 1 do if RVData.GetItemStyle(i) = rvsTable then begin table := TRVTableItemInfo(RVData.GetItem(i)); table.Options := table.Options - [rvtoRowSizing, rvtoColSizing]; end; end; -- Pieter |
Powered by ABC Amber Outlook Express Converter