I'm working on a program in vb2010.
A while ago I've created the same program in Delphi 2009, but wanted to use vb 2010 instead, so I try to recreate the same program in vb 2010.
Most of the things I was able to solve, but I run into 2 problems.
Let me first explain what the program does in a nutshell. I have a gridview from where I can copy, records into a listbox (works), from there I want to send those entries into a richtextbox on a second form (works also).
1 problem:
On the second form I also have a spinedit (from devexpress), with that when I press the increase button the same text just added to the richtextbox is copied (the number of times I press the increase button will determen the amount of copies), every copy must have 2 blank line between them (when I have multiple lines, these lines should be copied). For example:
test
test
test
test /these are the copies
test
test
Now the second problem, I also have a checkedcomboedit, when I check an item I want the value of that checked item to be placed inside the richtextbox at a certain line, in delphi I used the following line but it doesn't work here:
Richedit.Lines.Strings[2] := Format('Worshipservice: %s', [CheckListEdit1.Text])
Any help would be great.
Thanks
A while ago I've created the same program in Delphi 2009, but wanted to use vb 2010 instead, so I try to recreate the same program in vb 2010.
Most of the things I was able to solve, but I run into 2 problems.
Let me first explain what the program does in a nutshell. I have a gridview from where I can copy, records into a listbox (works), from there I want to send those entries into a richtextbox on a second form (works also).
1 problem:
On the second form I also have a spinedit (from devexpress), with that when I press the increase button the same text just added to the richtextbox is copied (the number of times I press the increase button will determen the amount of copies), every copy must have 2 blank line between them (when I have multiple lines, these lines should be copied). For example:
test
test
test
test /these are the copies
test
test
Now the second problem, I also have a checkedcomboedit, when I check an item I want the value of that checked item to be placed inside the richtextbox at a certain line, in delphi I used the following line but it doesn't work here:
Richedit.Lines.Strings[2] := Format('Worshipservice: %s', [CheckListEdit1.Text])
Any help would be great.
Thanks