Re: Surpressing the vertical scrollbar in a wx.TextCntrl

Dietmar Schwertberger <[email protected]> Sat, 6 Jun 2020 12:29:08 +0200
Newsgroups gmane.comp.python.wxglade
Message-ID <[email protected]>
On 06.06.2020 02:05, William Luitje wrote:
> I recently upgraded to wxPython 3.0.2.0 and a text control which 
> previously had no vertical scrollbar now has one, which is disabled. 
> There is a checkbox wxTE_NO_VSCROLL in wxGlade for that control so I 
> checked it and regenerated the UI but the scrollbar remained. In the 
> generated code for that control was the expression 
> "style=wx.TE_MULTILINE | wx.TE_READONLY" so I edited the generated 
> code to  "style=wx.TE_MULTILINE | wx.TE_READONLY | wxTE_NO_VSCROLL" 
> and the scrollbar went away. So it seems that wxGlade is not 
> generating the requested flag even when the box is checked.
Did you change the application property "For version" to 3.0?
> I don't see that flag present in the documentation for wxPython 2.9 so 
> it seems to be first implemented in 3.0.

The flag's text in wxGlade should be displayed in blue and the tooltip 
help should also state that it's not supported in 2.8.

Regards,

Dietmar

_______________________________________________
wxGlade-general mailing list
wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxglade-general