Recent

Author Topic: THtmlViewer - Property BorderStyle not working?  (Read 640 times)

OLLI_S

  • Full Member
  • ***
  • Posts: 111
THtmlViewer - Property BorderStyle not working?
« on: March 02, 2019, 03:53:29 pm »
Hello,

I am using Lazarus 1.8.4 in Windows 10 Professional x64.
I know that Lazarus 2.0 is out now, just had no time to install...

On my form I have a THtmlViewer and I set the property BorderStyle to htSingle.
But the THtmlViewer does not have any border.
So what am I doing wrong?

Of cause I could add a panel that has a border and place the THtmlViewer on the panel.
But this is a work-around that I want to do only when needed.

Best regards

OLLI

Handoko

  • Hero Member
  • *****
  • Posts: 3085
  • My goal: build my own game engine using Lazarus
Re: THtmlViewer - Property BorderStyle not working?
« Reply #1 on: March 02, 2019, 04:07:06 pm »
Maybe you can use a TPanel. Drop a TPanel to the form and then put your THtmlViewer inside the TPanel.

OLLI_S

  • Full Member
  • ***
  • Posts: 111
Re: THtmlViewer - Property BorderStyle not working?
« Reply #2 on: March 02, 2019, 04:18:27 pm »
Hello Handoko,

did you read my posting completely?
Because I wrote:

Of cause I could add a panel that has a border and place the THtmlViewer on the panel.
But this is a work-around that I want to do only when needed.

Best regards

OLLI


Handoko

  • Hero Member
  • *****
  • Posts: 3085
  • My goal: build my own game engine using Lazarus
Re: THtmlViewer - Property BorderStyle not working?
« Reply #3 on: March 02, 2019, 04:24:26 pm »
Oops, I'm sorry. I posted too fast.  :D