Async dialog in Skriptmanager



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 28/04/2011 at 08:50, xxxxxxxx wrote:

    Hi,

    seems like Async dialogs are not "possible" in the scriptmanager.

    The dialog closes itself once it has been opened, or what am I doing wrong ?

      
    import  c4d  
    from    c4d.gui     import GeDialog  
      
    class Dialog(GeDialog) :  
      def __init__(self) :  
          GeDialog.__init__(self)  
      
      def CreateLayout(self) :  
          self.SetTitle("Async Dialog")  
          self.html   = self.AddCustomGui(    1000,  
                                              c4d.CUSTOMGUI_HTMLVIEWER,  
                                              "Link Test",  
                                              c4d.BFH_SCALEFIT | c4d.BFV_SCALEFIT,  
                                              0, 0 )  
      
          return True  
      
    d = Dialog()  
    d.Open(c4d.DLG_TYPE_ASYNC,1000001)  
    


  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 04/05/2011 at 13:27, xxxxxxxx wrote:

    Non Modal Dialogs i don't believe are possible except in a plugin.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 01/06/2011 at 09:34, xxxxxxxx wrote:

    Yes, asynchronous dialogs are only possible in plugins, not in the script manager.


Log in to reply