Search found 135 matches
- Tue Feb 08, 2011 2:33 pm
- Forum: Support
- Topic: Change Font FACE In Table Cell
- Replies: 7
- Views: 24597
- Mon Feb 07, 2011 11:02 pm
- Forum: Support
- Topic: Change Font FACE In Table Cell
- Replies: 7
- Views: 24597
- Mon Feb 07, 2011 9:45 pm
- Forum: Support
- Topic: Change Font FACE In Table Cell
- Replies: 7
- Views: 24597
- Mon Feb 07, 2011 7:13 pm
- Forum: Support
- Topic: Change Font FACE In Table Cell
- Replies: 7
- Views: 24597
- Mon Feb 07, 2011 7:05 pm
- Forum: Support
- Topic: Change Font FACE In Table Cell
- Replies: 7
- Views: 24597
Change Font FACE In Table Cell
This relates to the Change Font In Table Cell question - which had a relatively easy solution. Now I would like to add the option to change the text in each table cell to the same BASE (typeface and any font effects - e.g. Arial, bold) but retain the rest of the 'font effects' relating to each text ...
- Mon Feb 07, 2011 6:59 pm
- Forum: Support
- Topic: Change Font In Table Cell
- Replies: 5
- Views: 20318
Thank you for your comments, Sergey - I will clean up the code as you suggest. Not necessary to do multiple tables - there is only ONE master :-). Please see my new post, though - as I've decided it would be nice to allow the user to retain the 'font effects' and change only the typeface - this gets ...
- Mon Feb 07, 2011 6:16 pm
- Forum: Support
- Topic: Change Font In Table Cell
- Replies: 5
- Views: 20318
- Mon Feb 07, 2011 5:00 pm
- Forum: Support
- Topic: Change Font In Table Cell
- Replies: 5
- Views: 20318
Change Font In Table Cell
Perhaps rather than showing bad solutions, I should just state the problem :-) I wish to apply an arbitrary existing style to the text items in a table cell - the text items can be of any style (and multiple styles) and be unicode or not and the existing style I want to apply may be Unicode or not ...
- Mon Feb 07, 2011 3:32 pm
- Forum: Support
- Topic: Continuing Problem with Modifying Table Fonts
- Replies: 1
- Views: 10185
Continuing Problem with Modifying Table Fonts
Hi Sergy, I've made some progress with this using the following code: //Check Unicode status of Question Default Font IsUnicode := FMain.RVStyleQ.TextStyles[1].Unicode; for i := 0 to MasterRVTable.RowCount - 1 do begin for j := 0 to MasterRVTable.Cells[i,1].ItemCount - 1 do begin CurrentItemStyle ...
- Fri Feb 04, 2011 8:09 pm
- Forum: Support
- Topic: Problem with crash after modifying fonts in a table
- Replies: 3
- Views: 16371
- Fri Feb 04, 2011 4:33 pm
- Forum: Support
- Topic: Problem with crash after modifying fonts in a table
- Replies: 3
- Views: 16371
It's not necessary to make the change undo-able. Could you give a short code example on how to avoid these: >> The error may occur when you assign 1 to: - StyleNo of non-text item (they must not be changed) - StyleNo of text item having different value of FMain.RichViewEdit1.Style.TextStyles[StyleNo ...
- Fri Feb 04, 2011 3:45 am
- Forum: Support
- Topic: Problem with crash after modifying fonts in a table
- Replies: 3
- Views: 16371
Problem with crash after modifying fonts in a table
I'm using this code to force all fonts in a given table column to a standard style (they may have been pasted from other sources, etc.): //Get the 'handle' of the inserted table for i := Fmain.RichViewEdit1.ItemCount - 1 downto 0 do begin case Fmain.RichViewEdit1.GetItemStyle(i) of rvsTable: Table ...
- Tue Dec 01, 2009 4:44 pm
- Forum: Support
- Topic: D2010 problem
- Replies: 2
- Views: 11883
I'll check out the Category portion of the code as you suggest. Further fooling with this shows that the quoted code will run repeatedly without issue IF similar code in the parser which parses the Answer rather than the Question is NOT run - it appears that this code somehow interferes with the ...
- Mon Nov 30, 2009 7:04 pm
- Forum: Support
- Topic: D2010 problem
- Replies: 2
- Views: 11883
D2010 problem
I'm trying to port very complex program to D2010 and it's not easy :-) I'm currently stuck on a RVE error called by this section of code: if ItsAQuestion then begin StrPCopy(Category, GetRVDataText(MasterRVTable.Cells[PairNumber-1,0])); MainText.Clear; Stream := TMemoryStream.Create; try ...
- Tue Mar 10, 2009 1:54 pm
- Forum: Support
- Topic: Generalizing a TRVAPopup Event
- Replies: 0
- Views: 15149
Generalizing a TRVAPopup Event
Hi Sergey, I got the RVAPopupMenu.OnPopup working fine with Live Spelling but only if I hard-code the rve involved - as it is in the Demo. I'm trying to generalize this so that it will work with multiple .rve's (I have many in my multi-tab editor) using the code below, but I get an Invalid Class ...