Search found 4 matches
- Sat May 04, 2013 8:03 pm
- Forum: Support
- Topic: Setting Initial Font
- Replies: 2
- Views: 10395
- Sat May 04, 2013 7:55 pm
- Forum: Support
- Topic: Setting Initial Font
- Replies: 2
- Views: 10395
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 ...
// set the initial font
iFontInfo := TFontInfo.Create(nil);
try
iFontInfo.FontName := 'Courier New';
iFontInfo.Size := 10 ...
- Wed Jan 26, 2011 6:42 pm
- Forum: Support
- Topic: How to set table.SetCellVAlign for selected cells and at cur
- Replies: 4
- Views: 12191
- Wed Jan 26, 2011 1:55 am
- Forum: Support
- Topic: How to set table.SetCellVAlign for selected cells and at cur
- Replies: 4
- Views: 12191
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 ...
procedure TFormMain.TableCellVAlignMiddle1Click( Sender: TObject );
var
Item: TCustomRVItemInfo;
Table: TRVTableItemInfo;
RichViewEdit: TCustomRichViewEdit;
ItemNo: integer;
r, c: integer;
tr, lc: integer;
sc ...