Recent

Author Topic: Adding scroll bars to custom control  (Read 3872 times)

pacaler

  • New member
  • *
  • Posts: 8
Adding scroll bars to custom control
« on: July 12, 2007, 10:27:02 pm »
Is there a way I can add scrollbars to the TcustomControl surface?

antonio

  • Hero Member
  • *****
  • Posts: 605
RE: Adding scroll bars to custom control
« Reply #1 on: July 13, 2007, 08:30:07 am »
I guess you must override CreateParams procedure.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2706
RE: Adding scroll bars to custom control
« Reply #2 on: July 13, 2007, 10:52:47 am »
I don't expect that to work on all widgetsets (if it works at all)
Only parts of createparams are used.
My advice, use a scrollbox.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018