Serg Posted April 25, 2021 Share Posted April 25, 2021 Возможно ли что-бы курсор при поиске (Locate) в UniDBGrid при нахождении искомого значения за границами грида устанавливался не на последнюю строку а в середину грида? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 26, 2021 Share Posted April 26, 2021 Кажется на форуме был аналогичный вопрос и решение. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 26, 2021 Share Posted April 26, 2021 9 hours ago, Serg said: Возможно ли что-бы курсор при поиске (Locate) в UniDBGrid при нахождении искомого значения за границами грида устанавливался не на последнюю строку а в середину грида? Можете ли Вы привести пример? Quote Link to comment Share on other sites More sharing options...
Serg Posted April 26, 2021 Author Share Posted April 26, 2021 В любом примере с гридом если искать запись не видимую на экране - курсор будет на последней строке видимой части грида. Клиент хочет что-бы курсор был в середине видимой области грида. Спасибо! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 26, 2021 Share Posted April 26, 2021 3 minutes ago, Serg said: В любом примере с гридом если искать запись не видимую на экране - курсор будет на последней строке видимой части грида. Теперь понятно. Quote Link to comment Share on other sites More sharing options...
Serg Posted April 26, 2021 Author Share Posted April 26, 2021 Может быть можно как то получить для UniDBGrid VisibleRowCount? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 26, 2021 Share Posted April 26, 2021 48 minutes ago, Serg said: Может быть можно как то получить для UniDBGrid VisibleRowCount? Здесь также зависит от высоты строк... Quote Link to comment Share on other sites More sharing options...
Serg Posted April 26, 2021 Author Share Posted April 26, 2021 Спасибо. Вопрос закрыт. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 26, 2021 Share Posted April 26, 2021 4 hours ago, Serg said: Вопрос закрыт. Вы решили вопрос? Quote Link to comment Share on other sites More sharing options...
Serg Posted April 26, 2021 Author Share Posted April 26, 2021 да. спасибо Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 26, 2021 Share Posted April 26, 2021 Ok. 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.