Search found 27 matches
- Wed Sep 29, 2010 12:47 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 125249
Use this function: function GetFieldValueFromRVData(RVData: TCustomRVData; const FieldName: String): String; var i,r,c: Integer; table: TRVTableItemInfo; begin Result := ''; for i := 0 to RVData.ItemCount-1 do if (RVData.GetItemStyle(i)>=0) and (StrComp(PChar(RVData.GetItemTag(i)), PChar(FieldName)...
- Tue Sep 28, 2010 12:45 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 125249
Now, about line breaks in fields. One item cannot contain a line break inside. Because of this, your line Cells[1,7].AddNLTag('xxxx'+#13+'oooooopo',6,0,Integer(StrNew('eName5'))); is incorrect, you need using 2 calls of AddNLTag to add 2 lines. And when you get values, you can enumerate all items h...
- Tue Sep 28, 2010 12:43 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 125249
- Mon Sep 27, 2010 8:55 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 125249
TSRichViewEdit has the method NextCurItem allowing to select the next item having one of the specified StyleNo. In your case, StyleNo=6. Enter is processed in OnKeyDown event. Unfortunately, it is forbidden to move from cell to cell in OnKeyDown, so we need using PostMessage to call NextCurItem. 1)...
- Mon Sep 27, 2010 8:33 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 125249
Now, about line breaks in fields. One item cannot contain a line break inside. Because of this, your line Cells[1,7].AddNLTag('xxxx'+#13+'oooooopo',6,0,Integer(StrNew('eName5'))); is incorrect, you need using 2 calls of AddNLTag to add 2 lines. And when you get values, you can enumerate all items h...
- Fri Sep 24, 2010 3:39 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 125249
- Fri Sep 24, 2010 3:27 am
- Forum: ScaleRichView
- Topic: How delete the cursor of the table cells before the tag!
- Replies: 4
- Views: 21647
- Fri Sep 24, 2010 2:55 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 125249
Cursor Move
OK! Just it I want.Sergey Tkachenko wrote:Do you want it to move to the NEXT text with gray background?
Like MS Excel moves to the next cell when user presses Enter?
- Thu Sep 23, 2010 2:06 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 125249
Cusor Move
1) How do you want to use tags? 2) Where do you want to move the caret when the user pressed Enter? Sorry! I don't describe it carefully. My sourcecode is as below. //-------(( procedure TForm1.FormCreate(Sender: TObject); var r,c: Integer; begin table1 := TRVTableItemInfo.CreateEx(2,14, srv.RichVi...
- Thu Sep 23, 2010 1:55 am
- Forum: ScaleRichView
- Topic: How delete the cursor of the table cells before the tag!
- Replies: 4
- Views: 21647
my sourcecode is as below: //----------------(( procedure TForm1.FormCreate(Sender: TObject); var r,c: Integer; begin table1 := TRVTableItemInfo.CreateEx(2,14, srv.RichViewEdit.RVData); table1.BorderWidth := 0; table1.CellBorderWidth := 0; table1.CellBorderStyle := rvtbColor; table1.CellBorderColor ...
- Tue Sep 21, 2010 3:45 am
- Forum: ScaleRichView
- Topic: How delete the cursor of the table cells before the tag!
- Replies: 4
- Views: 21647
How delete the cursor of the table cells before the tag!
when I insert a tag in the table one cell.I find cursor before my tag.
How to delete it?
Please help me.
Thanks! Urgent !
How to delete it?
Please help me.
Thanks! Urgent !
- Tue Sep 21, 2010 1:33 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 125249
How the Cursor move in the Tags of TSrichViewEdit ?
First,thank your help me!
Now,I find a problem.I want to use the Tags in the TSrichViewEdit .
The user want to used the "Enter" key to move the Cursor.
How I do?
Thank you for your help! I'm very impatient.
Thanks again!
Now,I find a problem.I want to use the Tags in the TSrichViewEdit .
The user want to used the "Enter" key to move the Cursor.
How I do?
Thank you for your help! I'm very impatient.
Thanks again!