Good Day all,
I'm having issues displaying data from a sqlite.db, table>field to inside a text block. It wants to display onto one continuous line. I have tried wrap=WORD on my text block, ...no changes. Is there something specific I need to do to my sqlite data structure?
I'm new to fetching data from a db, learning the ropes. Is it all in the code to how the data is to be displayed? Or does the database structure/settings have some play into this as well?
Just to be clear what I am looking for basically is word wrapping.Good Day all,
I'm having issues displaying data from a sqlite.db, table>field to inside a text block. It wants to display onto one continuous line. I have tried wrap=WORD on my text block, ...no changes. Is there something specific I need to do to my sqlite data structure?
I'm new to fetching data from a db, learning the ropes. Is it all in the code to how the data is to be displayed? Or does the database structure/settings have some play into this as well?
Just to be clear what I am looking for basically is word wrapping.
The code snippet feature isn't working, so hopefully this displays correctly. Below is a simple snippet of what I have. The TextBox class is actually duplicated only called with a different name, where the data from that class when called displays data as selected in Scrollable List Boxes, the last list box, I am able to get the data selected and displayed into a text cotainer, only it still wants to display it as if it was a selectable <<ListboxSelect>>, when the callable class TextBox, clearly defines that it is a text box with word wrap.
So do you guys think the issue is with my code? Or is there something I am missing with how data can be displayed from a sqlite.db>table?
I'm having issues displaying data from a sqlite.db, table>field to inside a text block. It wants to display onto one continuous line. I have tried wrap=WORD on my text block, ...no changes. Is there something specific I need to do to my sqlite data structure?
I'm new to fetching data from a db, learning the ropes. Is it all in the code to how the data is to be displayed? Or does the database structure/settings have some play into this as well?
Just to be clear what I am looking for basically is word wrapping.Good Day all,
I'm having issues displaying data from a sqlite.db, table>field to inside a text block. It wants to display onto one continuous line. I have tried wrap=WORD on my text block, ...no changes. Is there something specific I need to do to my sqlite data structure?
I'm new to fetching data from a db, learning the ropes. Is it all in the code to how the data is to be displayed? Or does the database structure/settings have some play into this as well?
Just to be clear what I am looking for basically is word wrapping.
The code snippet feature isn't working, so hopefully this displays correctly. Below is a simple snippet of what I have. The TextBox class is actually duplicated only called with a different name, where the data from that class when called displays data as selected in Scrollable List Boxes, the last list box, I am able to get the data selected and displayed into a text cotainer, only it still wants to display it as if it was a selectable <<ListboxSelect>>, when the callable class TextBox, clearly defines that it is a text box with word wrap.
So do you guys think the issue is with my code? Or is there something I am missing with how data can be displayed from a sqlite.db>table?
class TextBox(noteB): def __init__(): ... tfield = Text() tfield.config(wrap=WORD) self.bind(tfield, self.on_select) e1 = TextBox(browser, conn, "notes", "notes", ("notes", "aid")) e1.grid(row=1, column=2, sticky='nsew', rowspan=3, padx=(5, 10), pady=(0, 10)) e1.config(border=1) photoList.link(e1, "aid")
Larz60+ write Aug-06-2021, 11:48 PM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Fixed this time. Please use bbcode tags on future posts.
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Fixed this time. Please use bbcode tags on future posts.