using the component TipHTMLPanel...
lazarus / 8-Other
----------------------------------------------------------------------
Onjahyr-BR · 2006-09-16 19:16
...and component TipFileDataProvider.
:?:
how I can to detect one click in one link?
========================================
:shock:
in the other topic I am waiting I eat to make to accept the exhibition
of images...
----------------------------------------------------------------------
marmin · 2006-09-16 19:28
Onjahyr, there is also a IRC channel were you can ask questions: in
Freenode, channel Lazarus-ide. You might get a direct response.
----------------------------------------------------------------------
Onjahyr-BR · 2006-09-16 22:00
No! I not speak english....
Much time to type, to translate, and to post in the site...
TKS
----------------------------------------------------------------------
Onjahyr-BR · 2006-09-17 21:50
ok, is functioning using a previous version of the Lazarus, the colors
is being visualized, the navigation going and coming back between
pages also functioning. It only lacks the visualization of images. Not
accepted .jpg, .png, .gif, .bmp, and nor .xpm
help :wink:
----------------------------------------------------------------------
RudieD · 2006-09-18 16:19
I think you only need to include the lazjpeg file in your uses clause
to enable .jpg.
----------------------------------------------------------------------
Onjahyr-BR · 2006-09-19 01:46
hun hun. crash in application. browse in page HTML with jpeg,
bummmm!!! close window, close application!!!
lazjpeg something with TImage...
----------------------------------------------------------------------
Onjahyr-BR · 2006-09-19 14:08
ThtmlLite does not support Frames or the printing of HTML documents.
Imaging capablilities include GIF, animated GIF, JPEG, bitmap, and
PNG (including Alpha transparency).
info: http://pbear.com/htmlviewers.html#browse
PDF or RichView soluctions :lol: :shock:
----------------------------------------------------------------------
Onjahyr-BR · 2006-09-21 17:44
Ok, sucess...
I obtained many things, I passed the week with this component.
I found how capturing clicks;
Tricks to use colors and boldfaces.
I do not know how to place images.
The tip up (lazjpeg) does not function. Crash application terminate
when the image appears.
somebody that is experienced could help me?
:shock:
----------------------------------------------------------------------
theo · 2006-09-21 19:12
It basically works for me.
Make sure you add in Project -> Project Inspector the requirement for
JPEGForLazarus.
Then make sure that the URL in
Code: [Select]
procedure TMainForm.HTMLGetImageX
is actually pointing to an existing file. This may require some URL
parsing / combining in case of relative paths (for local file system)
or/and downloading the file in case of internet.
----------------------------------------------------------------------
Onjahyr-BR · 2006-09-21 21:34
sekel, por gentileza, traduz o texto acima, não entendi o que ele quis
dizer.... nem sempre o tradutor on-line funciona bem
Não sei se ele entendeu o que escrevi (em inglês)....
Eu havia dito que não estou conseguindo abrir uma imagem dentro do
componente, seja .bmp, ou .jpg, ou .png, ou .xpm, NADA, e colocando na
uses: LazJPEG, quando abre a página o aplicativo fecha do nada. O
arquivo HTML e as figuras são locais no computador (linux)... coloquei
o path correto... Tudo funciona, menos imagens.
----------------------------------------------------------------------
theo · 2006-09-22 00:41
I have no idea what you say, but I assume you didn't understand.
My Translator says ( http://www.online-translator.com/ )
Ele basicamente trabalha para mim. Assegure-se que você acrescenta no
Projeto-> Projetam o Inspetor a exigência de JPEGForLazarus. Então
assegure-se que o URL em
procedure TMainForm.HTMLGetImageX
está apontando de fato para um arquivo existente. Isto pode necessitar
algum URL que analisa / combinando em caso de caminhos relativos (para
o sistema de arquivo local) ou/e carregando do arquivo em caso de
Internet.
----------------------------------------------------------------------
jesusr · 2006-09-22 13:04
Take a look at lazarus/examples/turbopower_ipro directory.
----------------------------------------------------------------------
Onjahyr-BR · 2006-09-22 19:27
Quote from: "jesusr"Take a look at lazarus/examples/turbopower_ipro
directory.
TKS,
I had seen, but not imagined that it this component had examples
:wink: TKS
Quote from: "theo" ... Ele basicamente trabalha para mim. Assegure-se
...
theo, tks.
----------------------------------------------------------------------
Onjahyr-BR · 2006-09-22 21:00
Nor the example of this componet functions outside of the Lazarus!
Executing of the Lazarus opens page of it (index.html), opening other
page does not function. I placed in my program and also it did not
function.
Testing, I found a BUG using the program, the OpenDialog it is eating
one string when we place path manually in box of edition.
when the OpenDialog is executed, it presents the path initial
/home/user
(in box).
If to write "exemplo" in box, see "exempl", where the last letter "o"?
the Lazarus ate :lol:
::: while it writes, it sees the file information up of box in
OpenDialog.
hahaha