NetTalk Central

Author Topic: Quick question on NetWebBrowses  (Read 5025 times)

Devan

  • Full Member
  • ***
  • Posts: 230
    • View Profile
    • Email
Quick question on NetWebBrowses
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Quick question on NetWebBrowses
« Reply #1 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


Devan

  • Full Member
  • ***
  • Posts: 230
    • View Profile
    • Email
Re: Quick question on NetWebBrowses
« Reply #2 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

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Quick question on NetWebBrowses
« Reply #3 on: November 17, 2011, 02:53:24 PM »
That's a good tip Bruce! 

Thanks!
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Quick question on NetWebBrowses
« Reply #4 on: November 17, 2011, 09:10:35 PM »
And Devan's tip about billing is even better
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Quick question on NetWebBrowses
« Reply #5 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