Home » Community » Newbie corner » hiding the vertical scrollbar of LineEdit Ctrl
Re: hiding the vertical scrollbar of LineEdit Ctrl [message #38047 is a reply to message #38045] |
Thu, 29 November 2012 09:44   |
|
Hi navi,
Simple trick:class LineEditExtended : public LineEdit{
public:
virtual void NewScrollPos(){ WhenScrollChange();}
Callback WhenScrollChange;
void RemoveScrollBar(){ RemoveFrame(sb); }
};
Then just call tx1.RemoveScrollBar() in MainWindowDlg constructor. I believe it does exactly what you need 
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Tue Jul 08 06:49:35 CEST 2025
Total time taken to generate the page: 0.03362 seconds
|