Dear Sergey Tkachenko,
Thank you very much!
I tested my program as your suggestion.
My program run successful.
My problems are solved .
Thanks a lot.
Search found 27 matches
- Thu Oct 28, 2010 12:55 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 117885
- Wed Oct 27, 2010 1:31 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 117885
- Wed Oct 27, 2010 12:51 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 117885
Corrections in the code: 1) Modify ChangeFieldValue: procedure ChangeFieldValue(RVData: TCustomRVData; const s: String); var ParaNo, StyleNo, Tag: Integer; sl: TStringList; i, Cnt: Integer; begin [color=red]RVData := RVData.GetRVData;[/color] sl := GetStringListFromString(s); if sl.Count<X_Arrcount...
- Mon Oct 25, 2010 12:52 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 117885
- Mon Oct 25, 2010 12:44 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 117885
I'm sorry that I have not test it before.Sergey Tkachenko wrote:This link does not work (it requires me to log in?)
Please try this link.(http://www.cnblogs.com/mikalshao/archiv ... 60080.html)
click the ¡¾Delphi Program¡¿Link.
If you have also other problem, please tell me.
Thanks
- Fri Oct 22, 2010 12:48 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 117885
Can you create a simple compilable project (preferably not using database tables) and send it to me? I'll try to fix it. Thank you. I have uploaded my program.The url is as below. http://files.cnblogs.com/mikalshao/DZBL-test.rar The main button is Save,read,button1,button2. The Save button is simil...
- Thu Oct 21, 2010 9:17 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 117885
I write off the two sourcecode as below in the read,button1,button2 button. form1.srv.Visible:=false; form1.srv.Visible:=true; then I run my program. I click the buttons from the read ,button1,button2. At first, It's can switch successful. But I switch serval times,the error also be found. The error...
- Thu Oct 21, 2010 8:35 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 117885
- Thu Oct 21, 2010 6:35 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 117885
Dear Sergey Tkachenko, Thank you for your help. I modify your function as below. procedure ChangeFieldValue(RVData: TCustomRVData; const s: String); var ParaNo, StyleNo, Tag: Integer; sl: TStringList; i, Cnt: Integer; begin sl := GetStringListFromString(s); if sl.Count<X_Arrcount then Cnt := sl.Coun...
- Thu Oct 21, 2010 1:12 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 117885
As I understand, you modified GetFieldValue2 so that it adds '^' between lines. To change 'eName5' to multiline text: 1) Read field value from database (s = '111^222^333') 2) Change '^' to #13#10 (s = '111'#13#10'222'#13#10'333) 3) Call: if GetFieldLocation2(rv.RVData, field, RVData, ItemNo, 'eName...
- Wed Oct 20, 2010 3:42 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 117885
- Wed Oct 20, 2010 3:24 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 117885
I created these functions for you, but I HIGHLY recommend you to use one of demos from http://www.trichview.com/forums/viewtopic.php?t=8 as a basis, instead of these functions. Thank you for your reply. I'm sorry I can't be blind to the demo. Here's my meaning's sourcecode. 1.create the talbe and t...
- Wed Oct 20, 2010 1:42 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 117885
Sorry for delay. As I understand, you need to change text of the field. 1) Use the unit http://www.trichview.com/support/files/RVInsertItems.zip (the most probably, it will be included in the next versions of TRichView. This unit has the function RVInsertString allowing to insert a single line of o...
- Mon Oct 18, 2010 3:53 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 117885
- Wed Sep 29, 2010 6:55 am
- Forum: ScaleRichView
- Topic: How the Cursor move in the Tags of TSrichViewEdit ?
- Replies: 36
- Views: 117885
Sergey Tkachenko, I searched the two funcitons. I create my funcitons base on them. The detail is as below. procedure TForm1.bSaveClick(Sender: TObject); var s: String; begin s := trim(GetFieldValue2(srv.RichViewEdit, 'eName5')); showmessage('»бХпјЗВјЎѕ'+s+'Ўї±ЈґжіЙ№¦ЈЎ'); end; function GetFieldValu...