Search found 4 matches

by w2m
Sat May 04, 2013 8:03 pm
Forum: Support
Topic: Setting Initial Font
Replies: 2
Views: 10326

This should have been posted in the private forum because am a registered user. I do not know why it appeared here instead?
by w2m
Sat May 04, 2013 7:55 pm
Forum: Support
Topic: Setting Initial Font
Replies: 2
Views: 10326

Setting Initial Font

I try to set the initial font for load pascal (*.pas} file as text but after loading font is not correct. How to load .pas file with 'Courier New' Font size = 10? // set the initial font iFontInfo := TFontInfo.Create(nil); try iFontInfo.FontName := 'Courier New'; iFontInfo.Size := 10; iStyleNo ...
by w2m
Wed Jan 26, 2011 6:42 pm
Forum: Support
Topic: How to set table.SetCellVAlign for selected cells and at cur
Replies: 4
Views: 12067

Your code almost worked but I had to modify it to work without an exception in the line TRichViewEdit.InnerEditor.BeginItemModify( ItemNo, Data ); procedure TFormMain.TableCellVAlignMiddle1Click( Sender: TObject ); var Item: TCustomRVItemInfo; Table: TRVTableItemInfo; RichViewEdit ...
by w2m
Wed Jan 26, 2011 1:55 am
Forum: Support
Topic: How to set table.SetCellVAlign for selected cells and at cur
Replies: 4
Views: 12067

How to set table.SetCellVAlign for selected cells and at cur

1. How to set table.SetCellVAlign for selected cells and at the caret position? procedure TFormMain.TableCellVAlignMiddle1Click( Sender: TObject ); var Item: TCustomRVItemInfo; Table: TRVTableItemInfo; RichViewEdit: TCustomRichViewEdit; ItemNo: integer; r, c: integer; tr, lc: integer; sc, sr ...