AMIT Posted March 13, 2016 Share Posted March 13, 2016 How to go to Next Page by Coding. Suppose there was 10 pages on uniDBGrid to go to next page we can click on Next Page button. What I need is to trap the keypress if PgDn key was pressed I want it to be the same as clicking on Next Page button. Please suggest Thank in advance. Quote Link to comment Share on other sites More sharing options...
NelsonFS Posted March 13, 2016 Share Posted March 13, 2016 Try: Dataset.RecNo := DataSet.RecNo + UniDBGrid1.WebOptions.PageSize; and Dataset.RecNo := DataSet.RecNo - UniDBGrid1.WebOptions.PageSize; Quote Link to comment Share on other sites More sharing options...
AMIT Posted March 13, 2016 Author Share Posted March 13, 2016 Thank you. 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.