Mar-27-2018, 12:28 PM
The tab ends up on the END when I run the GUI tool, if I do this
Thanks, sorry for not being more clear.
#Scroll bars for listbox self.yScroll = Scrollbar(self.window, orient=VERTICAL) self.xScroll = Scrollbar(self.window, orient=HORIZONTAL) small_font = font.Font(size=15) self.SectionList = Listbox(self.window, height=23, width=30,selectmode=MULTIPLE,yscrollcommand=self.yScroll.set,xscrollcommand=self.xScroll.set, font=small_font) values = self.Query("SELECT Filename FROM ShubertDocs WHERE Frame = '" + key + "' AND FrameSection = '" + element + "';") i=0 for value in values: self.SectionList.insert(i, '\t' + str(value[0])) i += 1If I add a CHAR(9) in the database to a file it also ends up on the END of the string that I am inserting. Either way when I run the tool in my listbox, I have a tab on the end of my string not the front. Do you want to see my whole program? not sure what other parts are relevant.
Thanks, sorry for not being more clear.