PxPlus User Forum

Main Board => Discussions => Nomads => Topic started by: Jeffrey Ferreira on May 19, 2023, 03:10:48 PM

Title: HTML Tip
Post by: Jeffrey Ferreira 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
Title: Re: HTML Tip
Post by: Mike King on May 19, 2023, 04:51:13 PM
Can you provide details on what you are loading into the 'Tip$ property?
Title: Re: HTML Tip
Post by: Jeffrey Ferreira 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.
Title: Re: HTML Tip
Post by: Mike King 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$