Recent

Author Topic: Hide a component and redraw the screen  (Read 300 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2243
    • Lazarus and Free Pascal italian community
Hide a component and redraw the screen
« on: December 19, 2022, 04:26:48 pm »
Hi, me a screenshot with a jSearchView and a jListView. When the program starts the jSearchView is visible. If I click on the jListView I make the jSearchView invisible. But the jListView doesn't resize to full display. How can I do?
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

lazpas

  • Jr. Member
  • **
  • Posts: 69
Re: Hide a component and redraw the screen
« Reply #1 on: December 27, 2022, 12:28:39 pm »
try
 ...
 jlistview.updatelayout;

 

TinyPortal © 2005-2018