CITASys Automation Posted September 5, 2022 Share Posted September 5, 2022 hello, is that possible to hide and undhide scrollbar on unistringgrid? pelase help, thanks Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 5, 2022 Share Posted September 5, 2022 Hello, 36 minutes ago, CITASys Automation said: hello, is that possible to hide and undhide scrollbar on unistringgrid? This post may help you: Quote Link to comment Share on other sites More sharing options...
CITASys Automation Posted September 5, 2022 Author Share Posted September 5, 2022 okay sherzod, I'll try it thanks Quote Link to comment Share on other sites More sharing options...
CITASys Automation Posted September 5, 2022 Author Share Posted September 5, 2022 it work with mouseover and mouseout! If I want hide or unhide it with an unibutton, which event I should use? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 5, 2022 Share Posted September 5, 2022 4 minutes ago, CITASys Automation said: If I want hide or unhide it with an unibutton, which event I should use? procedure TMainForm.UniButton1Click(Sender: TObject); begin // hide JSInterface.JSCall('getView().setStyle', ['overflow', 'hidden'], UniDBGrid1.JSControl); end; procedure TMainForm.UniButton2Click(Sender: TObject); begin // show JSInterface.JSCall('getView().setStyle', ['overflow', 'auto'], UniDBGrid1.JSControl); end; Quote Link to comment Share on other sites More sharing options...
CITASys Automation Posted September 5, 2022 Author Share Posted September 5, 2022 you are the best sherzod! 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.