How rebuild LCL components lazarus / 9-Editor ---------------------------------------------------------------------- Marek · 2007-05-04 13:43 I`m working Lazarus 0.9.22 for Windows. Use TTrackBar.OnChange and this event don`t work correctly: TrackBar.Position after event allways equal 0. I`m find probably error in source: trackbar.inc (row 307) procedure TCustomTrackBar.DoChange(var msg); begin   FPosition := TWSTrackBarClass(WidgetSetClass).GetPosition(Self);   ....   TWSTrackBarClass(WidgetSetClass).GetPosition(Self) -> in unit: WSComCtrls.pp (row 469) is: class function  TWSTrackBar.GetPosition(const ATrackBar: TCustomTrackBar): integer; begin   Result := 0; end; ought to: begin   Result := ATrackBar.Position; end; But why save this change in source? Tools->Build Lazarus nothing change. (And this is cause bad OnChange event?) ---------------------------------------------------------------------- antonio · 2007-05-04 13:56 You rebuild LCL by Run > Build all, and an appropriate configuration on Tools > Configure Build Lazarus. ---------------------------------------------------------------------- Marek · 2007-05-04 17:43 Not working. Maybe it`s not solution problem with TTrackBar.OnChange. Thanks ---------------------------------------------------------------------- antonio · 2007-05-04 20:39 Does TrackBar.Position not return position correctly? ---------------------------------------------------------------------- Vincent Snijders · 2007-05-05 10:51 See (fixed) bug 8589.