Results 1 to 2 of 2

Thread: Hiding buttons

  1. #1
    Jon Goings Guest

    Hiding buttons


    Is there a way to hide buttons in grid mode?

  2. #2
    John Guest

    Hiding buttons (reply)

    Hi Jon,

    If by "buttons" you mean the navigation buttons, yes, you can set dbNavigation = "NONE" and they'll be off.

    You can check whether you're in Grid or Form mode and turn it on/off in code. I had this code snippet that does the trick:

    If ucase(left(request("aspDBBut_999&#34,11)) = "ASPDBGOFORM" then
    Mydb.dbNavigation="bottom"
    Else
    Mydb.dbNavigation="none"
    End if

    Here, with dbUnit=999, it only turns on Navigation when in Form mode.

    Take care,
    John



    ------------
    Jon Goings at 5/4/01 4:56:35 PM


    Is there a way to hide buttons in grid mode?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •