Apr-17-2019, 09:57 PM
(This post was last modified: Apr-17-2019, 10:07 PM by gazoxtapod.)
Thanks Yoriz !!!
Of COURSE - "style" is a LIST, so [] is required !!! My oversight. My brain is foggy.
Just tried it and it works GREAT !!!
Thank you for resolving this for me ... I have been beating my head against a wall for hours, and never would have gotten the solution but for your input. This really simplifies my code. I can either load styles from an array, or I can give each style a descriptive name! WOOHOO!
I'll edit my previous post and show the correction, and mark the thread as solved.
Blessings in abundance, all the best, & ENJOY!
Art in Carlisle, PA USA
Thank you Yoriz !!!
In line 19 of the code in the 3rd post in this thread (I can't edit it!) ...
Blessings!
Art in Carlisle, PA USA
Of COURSE - "style" is a LIST, so [] is required !!! My oversight. My brain is foggy.
Just tried it and it works GREAT !!!
Thank you for resolving this for me ... I have been beating my head against a wall for hours, and never would have gotten the solution but for your input. This really simplifies my code. I can either load styles from an array, or I can give each style a descriptive name! WOOHOO!
I'll edit my previous post and show the correction, and mark the thread as solved.
Blessings in abundance, all the best, & ENJOY!
Art in Carlisle, PA USA
Thank you Yoriz !!!
In line 19 of the code in the 3rd post in this thread (I can't edit it!) ...
cBox[0].config(**style(i)) # SHOULD BE: cBox[0].config(**style[i]) # ^ ^That resolves the error and the demo runs fine
Blessings!
Art in Carlisle, PA USA