NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Devan on November 17, 2011, 03:31:47 AM

Title: Quick question on NetWebBrowses
Post by: Devan on November 17, 2011, 03:31:47 AM
Hi all,

I just got a last minute request from a client to make a change to a web app I created for them in NetTalk.  It's getting late here now and I just want to shut the computer down and go to bed rather than experiment and test whether I can do this, so I thought I would pose the question to the NetTalkers here!

There is one browse that looks at a file which has a few short fields in it, and two quite long (4000 character) memo fields.  At the moment, the NetWebBrowse only shows the short fields, but they want me to add the two memo fields to the end of that.

They want the memo fields in the browse to only show the first 40 or so characters of the memo, but then when the user hovers the mouse over the memo field, the popup balloon tip to show the entire text of the memo.

Possible to do in NT5?

Cheers,
Devan
Title: Re: Quick question on NetWebBrowses
Post by: Bruce on November 17, 2011, 03:53:16 AM
Hi Devan,

yes.
what you do is set the
Display:
field to
sub(fil:memo1,1,40)
and then
Field Tooltip:
to
fil:memo1

Easy!

cheers
Bruce

Title: Re: Quick question on NetWebBrowses
Post by: Devan on November 17, 2011, 02:22:26 PM
Hooray!

Thanks Bruce -  This IS too easy.  I can't tell my client that it took 10 minutes to implement his changes...  I'll have to practice my guitar for a bit and then bill him 2 hours... LOL

Cheers,
Devan
Title: Re: Quick question on NetWebBrowses
Post by: DonRidley on November 17, 2011, 02:53:24 PM
That's a good tip Bruce! 

Thanks!
Title: Re: Quick question on NetWebBrowses
Post by: terryd on November 17, 2011, 09:10:35 PM
And Devan's tip about billing is even better
Title: Re: Quick question on NetWebBrowses
Post by: Bruce on November 18, 2011, 09:44:14 PM
better I should bill you, then you can include that in your bill to the customer <g>...

cheers
Bruce