Recent

Author Topic: customized listbox  (Read 1939 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2261
    • Lazarus and Free Pascal italian community
customized listbox
« on: January 26, 2016, 10:39:03 am »
Hello guys, I wanted to ask a curiosity, I need to add components to a listbox. To be clear I want to create a planner with the range from 15 minutes and variable columns.

I thought of a listbox, which each line has the canvas a number of variable cells. Does anyone have any idea how to implement it?
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

molly

  • Hero Member
  • *****
  • Posts: 2330
Re: customized listbox
« Reply #1 on: January 26, 2016, 08:27:40 pm »
Hmz,seems to me that something like TDrawGrid is more suitable for what you have in mind, as it provides custom drawing methods ?

xinyiman

  • Hero Member
  • *****
  • Posts: 2261
    • Lazarus and Free Pascal italian community
Re: customized listbox
« Reply #2 on: January 27, 2016, 08:36:27 am »
thank you :)
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

 

TinyPortal © 2005-2018