Forum > General

THTMLPort Issues

(1/1)

NelsonN:
I am using the THTMLPort component (latest form svn) with Lazarus 9.31, the one by Phil (I believe).

There are two issues I would like to get rid off, if anyone among you has a solution.

1) The first is the text disappearing when selecting it.

2) How to turn off forms and their elements. A form with a radio button is causing a 'RunError(201)', stopping here in Unit Htmlsubs:

               SaveColor := SetTextColor(Handle, clBlack); <---

But I suspect this is the line where the error starts at:

                if (Ctrl is TRadioButtonFormControlObj) then 

I don't need forms, all I want is to not have the component act on them. This program is cross platform, Windows, Mac OS X (carbon), and Linux (GTK2).

Any help appreciated.

Ñuño_Martínez:

--- Quote from: NelsonN on April 28, 2011, 08:15:59 pm ---1) The first is the text disappearing when selecting it.

--- End quote ---
I never use THTMLPort but, did you check the colour configuration?

Dibo:
This component have some issues on GTK like no background on selected text (maybe selected text color is light and you don't see it) and problem with scrollbars

NelsonN:

--- Quote from: Dibo on April 29, 2011, 12:52:09 pm ---This component have some issues on GTK like no background on selected text (maybe selected text color is light and you don't see it) and problem with scrollbars

--- End quote ---

I am having the select text issue on all three operating systems.

The colors are default black text and the background white.

NelsonN:

--- Quote from: Ñuño_Martínez on April 29, 2011, 12:17:37 pm ---
--- Quote from: NelsonN on April 28, 2011, 08:15:59 pm ---1) The first is the text disappearing when selecting it.

--- End quote ---
I never use THTMLPort but, did you check the colour configuration?

--- End quote ---

The text selection seems to be a recognized issue. I was just hoping someone had a solution.

The 'RunError(201)' seems to be happening in Windows only.

Navigation

[0] Message Index

Go to full version