Recent

Author Topic: Control with four orthogonal arrows  (Read 1573 times)

simone

  • Hero Member
  • *****
  • Posts: 573
Control with four orthogonal arrows
« on: June 29, 2018, 07:17:17 pm »
Hello everyone! I need a control similar to TUpDown, but with four orthogonal (clickable) arrows, one for each possible direction (North, South, East, West). Is there one already ready? Thanks in advance.
Microsoft Windows 10 64 bit - Lazarus 3.0 FPC 3.2.2 x86_64-win64-win32/win64

wp

  • Hero Member
  • *****
  • Posts: 11858
Re: Control with four orthogonal arrows
« Reply #1 on: June 29, 2018, 07:21:42 pm »
TArrow on the "Misc" palette. Since, unlike the palette icon, it is a single arrow you'll need four of them. Rotate them with the ArrowType property.

simone

  • Hero Member
  • *****
  • Posts: 573
Re: Control with four orthogonal arrows
« Reply #2 on: June 29, 2018, 07:25:48 pm »
Thanks for the immediate reply. I was already thinking about this solution. I wondered if it was already a ready component.
Microsoft Windows 10 64 bit - Lazarus 3.0 FPC 3.2.2 x86_64-win64-win32/win64

 

TinyPortal © 2005-2018