I am creating a program with delphi and I want to find the tags of a html page which I loaded into a memo object.
There are some lines like this:
<title>Welcome
</title>
I only want to find the '<title>' part or the 'Welcome' part
I want a code which can Delete 'Welcome' or make it possible for...
I want to have a bitmap moving around the screen.
Like Left or Top, does it have any property controlling the position.
Can I place a bitmap in the design phase or is it only created in command lines?
Is it possible to delete a bitmap or line or any canvas from the application?
How can I clear a specific canvas object like a bitmap?
Also how can I clear lines done with line to method.
Also how can I move a bitmap thats done with canvas?
Hi I want to start game programming with delphi
but all the sites talk about DelphiX(what ever it is)
What is it?
Can I program anything with delphi without learning DelphiX.
What do I need to make a scrolling platform game.
Hi
I want to open a web page in the default browser
but the web page's position is not stated.
I added ShellAPI in uses and
I did this but didnn't work:
ShellExecute(handle,'open',OpenDialog1.FileName,nil,nil,1);
When I change OpenDialog1.FileName to a file like ''c:\test.htm' it works.
Is it...
This is ok
But
How can I get the root directory (C:\my documents\Something\) by using the openDialog. Which means I want to identify the root directory with opening an html. The root will be the dir the html page is in. Is that possible?
That worked (thank you)
BUT
the html item doesnt use the colors of the document instead it uses its own(example: background);
Can you solve this or
if you tell me how to open a html document with the default browser thats fine
Do you mean by "get the path" is having the directory like "C:\My documents\" or full name of it?
And file name only the "name" like "pic.jpg"?
I also want to have the final name data in Tedit
You know how to build a web page, right?
The thing is:
It shows the file like this
img src="C:\askldj\aslknd.jpg" although the picture is in the same directory as the web page.
I only want the name of the file in this case. Another thing is that If the picture is in a subdirectory...
This could help if I had Delphi 5.0 or higher
but there is nothing called a web browser in Delphi 4
What can I do.
The thing I am trying to do is to see the html tags in Memo as a proper Page.
I want to have the location of a file
BUT
I want its location according to another file(this file's location can change).
For example suppose I have a web sites tags open. I add an image on this site with tags with the program I did with Delphi.
img src="File destination"
I want...
Hi
I tried to load a html in my computer into a THTML but it didn't work because the computer tries to connect to the internet. When I cancel it cannot load the page.(the page is on my computer)
I used this
HTML1.RequestDoc('FileName');
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.