Page 1 of 1

doubt with editor

Posted: Thu Mar 17, 2011 7:57 pm
by Ceprotec
Hello Sergey! Everything good?

I wonder if there is a tool that can play in several SRichViewEdit sequentially.
Example:
suppose a 'select ...' return 10 records, as these records become the srichview text, one below the other .. make a list like a table??

Posted: Thu Mar 17, 2011 8:46 pm
by Sergey Tkachenko
May be you can create a table (TRVTableItemInfo), add contents of records to it cells, then insert this table in TSRichViewEdit?

Posted: Fri Mar 18, 2011 11:25 am
by Ceprotec
Maybe, but not necessarily inside a table. I need to make records that are the result of a 'SELECT ..', but does not know how many records are Listed in Srichview. As if to create a list of names:
-John, male
-Mary, female
-Jorge, male
-Joan, female

Example: 'select * from customers ", those records would come from the database and would be inserted into Srichviewedit.

There is this possibility?

Posted: Fri Mar 18, 2011 8:32 pm
by Sergey Tkachenko
When you executed this sql query, where the results are stored?
If, after executing, you can know the number of results, you can create a table (TRVTableItemInfo) with this number of rows.
If you get your results one by one, you can add rows to the end using table.InsertRow method.

Posted: Sat Mar 19, 2011 2:46 pm
by Ceprotec
How do I get the cursor inside the possicionar srichwview next to a word, type stand beside the word "name", to use insert statements and put those records that the bank in return text without using table??

Posted: Sat Mar 19, 2011 3:06 pm
by Sergey Tkachenko
Sorry, I do not understand. Can you explain in other words?
May be with examples showing what you want to implement.

Posted: Thu Mar 24, 2011 1:35 pm
by Ceprotec
How do I direct the cursor after a string in the text?

example, within a text, find the word "name" and find the cusor beside her?

Posted: Thu Mar 24, 2011 2:01 pm
by Sergey Tkachenko
SearchText searches and selects the found text.

Posted: Thu Mar 24, 2011 2:32 pm
by Ceprotec
what are the parameters? what is a SrchOptions?

Posted: Thu Mar 24, 2011 3:32 pm
by Sergey Tkachenko