Viewer.py
changeset 699 649399ffdaf0
parent 697 25296cfc3663
child 704 aca0c83ed82e
equal deleted inserted replaced
698:314af37f7db2 699:649399ffdaf0
   516         
   516         
   517     def _init_Editor(self, prnt):
   517     def _init_Editor(self, prnt):
   518         self.Editor = wx.ScrolledWindow(prnt, name="Viewer", 
   518         self.Editor = wx.ScrolledWindow(prnt, name="Viewer", 
   519             pos=wx.Point(0, 0), size=wx.Size(0, 0), 
   519             pos=wx.Point(0, 0), size=wx.Size(0, 0), 
   520             style=wx.HSCROLL | wx.VSCROLL | wx.ALWAYS_SHOW_SB)
   520             style=wx.HSCROLL | wx.VSCROLL | wx.ALWAYS_SHOW_SB)
       
   521         self.Editor.ParentWindow = self
   521     
   522     
   522     # Create a new Viewer
   523     # Create a new Viewer
   523     def __init__(self, parent, tagname, window, controler, debug = False, instancepath = ""):
   524     def __init__(self, parent, tagname, window, controler, debug = False, instancepath = ""):
   524         self.VARIABLE_PANEL_TYPE = controler.GetPouType(tagname.split("::")[1])
   525         self.VARIABLE_PANEL_TYPE = controler.GetPouType(tagname.split("::")[1])
   525         
   526