Recent

Author Topic: Problems with TIpHtmlPanel  (Read 6426 times)

gajahbengkak

  • New Member
  • *
  • Posts: 13
  • this is me, mine, myself
    • Catatan Si Arief
Problems with TIpHtmlPanel
« on: September 27, 2009, 08:15:33 am »
i'm sorry for my bad english, i hope you can understand.

yesterday i create a dictionary application for indonesian words and english words, i use TIpHtmlPanel to display the result like this:

Found one words

kemarin 1 yesterday 2 (Java) in the past

the result displayed should be selectable and can be copied to clipboard as text. because some times the result contains tons of word definitions so the panel should be scrollable easily using mouse wheel.

The problems are:
1. When I call TIpHtmlPanel.SelectAll the selection is not displayed.
2. When I load a HTML string using TIpHtmlPanel.SetHtml the inter paragraph gap is too big.

Is there any work around for this problems?

thank you

trevosx

  • New member
  • *
  • Posts: 6
Re: Problems with TIpHtmlPanel
« Reply #1 on: October 13, 2009, 10:44:01 am »
>> 2. When I load a HTML string using TIpHtmlPanel.SetHtml the inter paragraph gap is too big.

Under Mac OS X, I find the inter paragraph gap to be non-existent, so you have the oppsite problem :) I solved mine (for a help system) by changing the HTML to get the desired result (my SGML training cringes at doing this, but one does what one must).

So, what HTML elements are you using which creates these large gaps?

gajahbengkak

  • New Member
  • *
  • Posts: 13
  • this is me, mine, myself
    • Catatan Si Arief
Re: Problems with TIpHtmlPanel
« Reply #2 on: November 16, 2009, 03:02:44 am »
My problem already solved, the large gap caused by accidentally set FactBAParag to 2 now after I change it to zero the gap has gone.

I'm using just formatting tag like <b>, <u> and <font ...>

 

TinyPortal © 2005-2018