doubt with editor

General TRichView support forum. Please post your questions here
Post Reply
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

doubt with editor

Post 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??
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

May be you can create a table (TRVTableItemInfo), add contents of records to it cells, then insert this table in TSRichViewEdit?
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

Post 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?
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

Post 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??
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, I do not understand. Can you explain in other words?
May be with examples showing what you want to implement.
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

Post 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?
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

SearchText searches and selects the found text.
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

Post by Ceprotec »

what are the parameters? what is a SrchOptions?
Post Reply