PxPlus User Forum

Twitter Twitter Twitter

Author Topic: HTML Tip  (Read 826 times)

Jeffrey Ferreira

  • Diamond Member
  • *****
  • Posts: 175
  • I must have taken a wrong turn at Albuquerque.
    • View Profile
HTML Tip
« on: May 19, 2023, 03:10:48 PM »
Hi All,
if i make a long html tip inside of nomads it displays nice.
if i do it in code via the tip$ then i'm getting a vertical scroll bar (and the tip is not even that long).
i'm using version 16.20 .
does anyone know a way i can rid myself of this vertical scroll bar
thanks
jeff

Mike King

  • Diamond Member
  • *****
  • Posts: 3810
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: HTML Tip
« Reply #1 on: May 19, 2023, 04:51:13 PM »
Can you provide details on what you are loading into the 'Tip$ property?
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

Jeffrey Ferreira

  • Diamond Member
  • *****
  • Posts: 175
  • I must have taken a wrong turn at Albuquerque.
    • View Profile
Re: HTML Tip
« Reply #2 on: May 22, 2023, 08:22:17 AM »
Hi Mike
i was trying to mimic what the editor was doing so i did something like this

<p>Hinge Locations are measured from Top of Door</p>
<p>Hinge Location 1: 7-12</p>
<p>Hinge Location 2: 7-12</p>
<p>Hinge Location 3: 7-12</p>

and it put a scroll bar (this is a general summary of html...any how i changed it to just
put <br/> after each line and the scrolling stopped...but i would like to know if i did anything wrong.
i dont think i was exceeding a limit.

Mike King

  • Diamond Member
  • *****
  • Posts: 3810
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: HTML Tip
« Reply #3 on: May 23, 2023, 10:30:05 AM »
Jeff,

Thanks but I tried this on my system here using 16.20 (and other releases) and I didn't get any scrollbar.  I tried both with $0d0a$ between each lin, $0a$ between each line, and nothing between the lines -- all worked.

Here is what I did.

->print x$
<p>Hinge Locations are measured from Top of Door</p>
<p>Hinge Location 1: 7-12</p>
<p>Hinge Location 2: 7-12</p>
<p>Hinge Location 3: 7-12</p>

->list_box 10,@(10,10,10,10),tip=x$




Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com