Results 1 to 2 of 2

Thread: Zimlet DwtDialog -- buttons

  1. #1
    grahamb's Avatar
    grahamb is offline Trained Alumni
    Join Date
    Apr 2008
    Location
    Vancouver, BC
    Posts
    54
    Rep Power
    7

    Default Zimlet DwtDialog -- removing buttons?

    How can I remove a button from a standard DwtDialog dialog box? I've figured out how to rename one of the standard buttons (e.g. this._dialog.getButton(DwtDialog.OK_BUTTON).setTex t) but what about removing one completely?
    Last edited by grahamb; 10-31-2008 at 10:39 AM.

  2. #2
    grahamb's Avatar
    grahamb is offline Trained Alumni
    Join Date
    Apr 2008
    Location
    Vancouver, BC
    Posts
    54
    Rep Power
    7

    Default

    I found the solution in ZmZimletBase.js:

    this._dialog.setButtonVisible(DwtDialog.CANCEL_BUT TON, false);

    Let me please reiterate the plea for proper Zimlet documentation! Please!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. Outlook 2007 Beta error
    By bersrker in forum Zimbra Connector for Outlook
    Replies: 13
    Last Post: 07-17-2008, 07:38 AM
  3. [SOLVED] Install Problem in Ubuntu 6.06 Server
    By xtimox in forum Installation
    Replies: 16
    Last Post: 03-27-2008, 09:36 AM
  4. Replies: 5
    Last Post: 01-11-2008, 05:34 AM
  5. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM

Posting Permissions

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