Divelements Community
Customer discussion of all Divelements products

lock icon in Sanddock?

Latest post 09-17-2008 10:20 by dot.Net Fan. 5 replies.
  • 09-11-2008 8:53

    lock icon in Sanddock?

    Hi,

    is it possible to show an lock icon for readonly documents in an tabbed document like in visual Studio?

    I'm using Sanddock 2.3.4.1.

    Thanks.

     

  • 09-15-2008 9:03 In reply to

    Re: lock icon in Sanddock?

    Yes, but there's no built-in way to achieve this. You'd have to implement your own renderer and override the DrawDocumentStripTab method. This is a bit of work but once you've done it you can put anything you like in your tabs. There's also the MeasureDocumentStripTab method, which you might override to increase the size of the tabs.

  • 09-16-2008 8:26 In reply to

    Re: lock icon in Sanddock?

    ConfusedThanks for the answer.

    I inherited an new Sanddock-Renderer, and add the lock icon.

    But i can't figure out how to invalidate an TabbedDocument by code? Invalidate doesn't work.

    Please support us by using Babylon search engine

    ">Please support us by using Babylon search engine

  • 09-16-2008 8:26 In reply to

    Re: lock icon in Sanddock?

    Thanks for the answer.

    I inherited an new Sanddock-Renderer, and add the lock icon.

    But i can't figure out how to invalidate an TabbedDocument by code? Invalidate doesn't work. Confused

    Please support us by using Babylon search engine

    ">Please support us by using Babylon search engine

  • 09-16-2008 8:31 In reply to

    Re: lock icon in Sanddock?

    Sorry for the double post and especially for the unwanted babylon advertising.

    Seems like a bug in the babylon plugin for firefox. Angry

  • 09-17-2008 10:20 In reply to

    Re: lock icon in Sanddock?

    In the meantime, i discovered that a redraw is triggered when i the renderer object changes.

    For now i use this workaround:

         Dim temp As RendererBase = Me.SandDockManager1.Renderer
         Me.SandDockManager1.Renderer = New myRenderer()
         Me.SandDockManager1.Renderer = temp

    I'm sure the is a better way to handle this issue, but for now... Hmm

    I also have a new issue:

    Is it possible to determine the currently drawn/measured TabbedDocument object?


               

     

Page 1 of 1 (6 items) | RSS
Copyright © 2008 Divelements Limited
Powered by Community Server (Commercial Edition), by Telligent Systems