From: Cullen N. <cn...@sa...> - 2006-10-03 23:04:02
|
Anyone mind telling me how to get the name of a notebook page, from the notebook page? For instance if when I create a new notebook page with a name like: GPIB0::4 or COM1 vis a vis: nb = model.childWindow(self.components.notebook, e3631a.e3631a) self.components.notebook.AddPage(nb, 'E3631A'+' on '+str(instrum), True) then from the created instance I would like to be able to do some thing like: on_initialize(self,event): local_variable=my_page_name Thanks in advance, Cullen -- |Cullen Newsom SUS Optics| |10905 Cash Road Stafford, Texas 77477| |cn...@sa... tel: 281.276.3737| |