NetTalk Central

Author Topic: TIP - Browse - Display in desktop mode but not mobile mode  (Read 9817 times)

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
TIP - Browse - Display in desktop mode but not mobile mode
« on: November 24, 2011, 08:40:01 AM »
Hello all,

Here's a little something I figured out:

On a desktop or laptop screen you have room to display quite a few fields in your browses.  On an iPhone or Android this is not the case.  

The solution is to limit the number of fields displayed on the phone.  But wait, we do not want our pretty desktop browse affected by this.

In your browse, in the field's properties, look for Column Condition.

Enter:  p_web.IsMobile() = 0

This will tell the browse to only display this field if it is being displayed in desktop mode.

Cool huh?

Bruce thought ot everything....  ;)

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

NetTalk 12.55
Clarion 11

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: TIP - Browse - Display in desktop mode but not mobile mode
« Reply #1 on: November 24, 2011, 10:28:24 AM »
Don,

He's done more than that!

Immediately beneath the column condition field is a checkbox "Include in Mobile?".

In NT6 I should add - otherwise you're right.

Peter

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: TIP - Browse - Display in desktop mode but not mobile mode
« Reply #2 on: November 24, 2011, 10:32:04 AM »
Damn, I missed that!   But, yep, you're right.  That check box will do the same thing.

Thanks!!

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

NetTalk 12.55
Clarion 11