erich.wanker Posted March 1 Share Posted March 1 can someone translate this to javascript - please 😉 display_panel = Tuniscrollbox toppanel = TUniContainerpanel  procedure TMainForm.display_panelScrollChange(Sender: TComponent; const X,  Y: Integer); begin new_y:=y; if  old_y < new_y then toppanel.top := -125 else toppanel.top :=0; old_y:= new_y; end;  ..i want to hide header on scroll down, show on scroll up ...  my delphi code works like i want .. but my code workes just after a time-delay and that is not nice 😉  ThanX Erich Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 1 Share Posted March 1 Hello, 1 hour ago, erich.wanker said: my delphi code works like i want .. but my code workes just after a time-delay and that is not nice 😉 How can we check? 🙂 Quote Link to comment Share on other sites More sharing options...
erich.wanker Posted March 1 Author Share Posted March 1 i made a testcase 😉   testcase.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 2 Share Posted March 2 Thanks, I will check. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.