I would be happy to use TStringStream or ordinary strings if they retained the formatting.
PlainText property is False.
I am trying to do the same process now by loading the file into Temp_RE, Searching and selecting in there and copying the selected area to Description_RE.
Still Struggling with...
OK, Basic mistake. Forgot to set FoundStr.Position := 0; before loading it into the RE.
New Problem though:-
No formatting copies over.
There is text and tables in the selection area and all the formatting is lost.
Is there a way around this?
Hi,
I have a small problem copying part of a MemoryStream (Stream) into another MemoryStream (FoundStr).
I have a long RTF document that I load into a memory stream and then search for different sections based of a bunch of changing requirements. I then want to load the new MemoryStream into the...
OK,
I obviously need to start learning abot Classes.
That seems to work except for on minor problem:
The Procedure DoSomething only avare does something on the first tab (0) regardless of the fact that it is run from:
procedure TForm1.Button2Click(Sender: TObject);
var i : integer;
FM2...
Oops, Sorry, Got that wrong.
The line:
Form2.lOutput.Caption := IntToStr(PageControl1.ActivePageIndex);
Does give an error (Access violation at address....) because:
// Application.CreateForm(TForm2, Form2);
is hashed out
Hi,
I have a multiple Dynamic Form2's attached to Form1 Pagecontrol tabsheets.
I want to do things on the Form2s based on a button click from Form1. Any sugestions?
==============================
Form1 has:
Button1
Button2
PageControl1
procedure TForm1.Button1Click(Sender...
Hi,
Thanks all for that.
This worked perfectly and was a great lesson.
This is a fantastic group with helpfull people.
I have put up 2-3 posts before and always received helpfull advice.
Colin
Hi,
I have been spending the last few weeks working on a bit of software and have now run into a stumbling block that I can't seem to get past. I was wandering if you might be able to help.
I have a form that has a PageControl on it.
I dynamicly create tabsheets using this:
procedure...
Hi again,
I think I should expand on the situation for more clearity.
The modification I am making is to deal with a bar code scanner. They want to give each student a barcode so that when they come into class they can scan the code and find the student quickly.
A barcode will look something...
Hi, Thanks for that but I already tried using onclick and although it fixed the problem described above something even worse happens.
When the user uses the arrow key's to go from one name on the list to the next the software runs the attended procedure automaticly. I can't work out why. Thats...
Hi All,
I have a wierd problem that I can't work out. I am putting together a program to handle attendances and payment details for a martial arts club.
I have a form (Martial) that has the following:
- A DB_Grid (DBG_Name) that populates with a list of names from an interbase DB.
- A...
Thanks for that. I can see that it is a more elegant way to write the original Query and I will change my other Queries to that format. Can anyone answer the original question though?
Colin
Hi all,
I am having a problem with a report I am trying to produce.
I am quite new at SQL so I am sure that the answer is basic.
I have a DB I have designed for my local Martial arts club to handle student attendances.
3 of the tables are:
TABLE PERSON
PERSON_ID FIRST_NAME LAST_NAME...
sDate is ftUNKNOWN. The help say's:
"DataType is set automatically when a value is assigned to the parameter. Do not set DataType for bound fields, as that may cause the assigned value to be misinterpreted."
I think the problem is somewhere different.
I rechecked the origional (everything...
Hi,
This is my first post.
I have only just started using SQL in Delphi and am obviously doing something wrong.
I have created a membership database and wish to create some RAVE reports for it.
I have a TIBQuery with the following SQL statement in it:
--------------------
select * from PERSON...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.