Recent

Author Topic: Anyone know how to change the properties of 32 SlideBars from one proceedure  (Read 2500 times)

dsiders

  • Hero Member
  • *****
  • Posts: 1045
...
So I copied the code from 'your button 1' and placed it into one of my buttons 'button 2'.
I get instant compile errors, attached an image.
...

All of the highlighted errors are defined in the ectypes.pas unit. Does that unit appear in your uses clause?
Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

dseligo

  • Hero Member
  • *****
  • Posts: 1177
...
So I copied the code from 'your button 1' and placed it into one of my buttons 'button 2'.
I get instant compile errors, attached an image.
...

All of the highlighted errors are defined in the ectypes.pas unit. Does that unit appear in your uses clause?

Exactly, just add ECTypes to the uses section.

andyf97

  • New Member
  • *
  • Posts: 21
Adding add ECTypes to the uses solved the Slider errors I was having, but re-installing Lazarus solved also a lot of other issues.

Up and running now, thanks to you all for your help.

 

TinyPortal © 2005-2018