NetTalk Central

Author Topic: How to hide/Unhide the select button at run time  (Read 3592 times)

Big Ian

  • Newbie
  • *
  • Posts: 31
  • I wonder what happens if I press this button
    • MSN Messenger - ian.holdsworth@gmail.com
    • View Profile
    • Email
How to hide/Unhide the select button at run time
« on: May 01, 2008, 07:27:57 AM »
Guys

Under certain circumstances I want to be able to hide or at least disable the buttons on a form at runtime i.e. when somebody has selected the services they want and been to the checkout and payed for them I don't want the going back and changing their selections.  I would however like them to be able to see what they selected.

Any Ideas?

Cheers
Ian Holdsworth
Ram Ltd

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How to hide/Unhide the select button at run time
« Reply #1 on: May 02, 2008, 03:34:10 AM »
Hi Ian,

So I'm guessing that you've got say an "order" - and after the user has been to the checkout the order is "locked" (at least to him). right?

So based on the value of "locked" you want to restrict the update functionality of the child browse?

You can do this by using the "conditional" fields, on the Form tab, of the browse. eg
p_web.GSV('ord:locked') = 0

I confess I'm not sure where the "select" button fits into my model though..

Cheers
Bruce