Int3g3r Posted October 30, 2020 Posted October 30, 2020 Hello, I've created a form with a scrollbox. By default the scrollbox is set to "visible:=false", because i need the same form for diffrent tasks. In the first task i set "visible" property to "true" when i press a button. This works just fine. In the second task i need to set the "visible" property to true as soon the form gets showed. I noticed that the forms don't get destroyed on close. Because of that i tried to implement the second behavior like follow example: public procedure showModalEdit; procedure TfrmEkScan.showModalEdit; begin self.ShowModal(); self.scrollbox.Visible := true; end; The form gets showed but the scrollbox is not visible. Can someone explain me why ? Is it possible to redraw/repaint the scrollbox ? I tested most of the default methods but they don't work. Regards Int3g3r
Sherzod Posted October 30, 2020 Posted October 30, 2020 46 minutes ago, Int3g3r said: The form gets showed but the scrollbox is not visible. Can someone explain me why ? Is it possible to redraw/repaint the scrollbox ? I tested most of the default methods but they don't work. Hi, Your case is not very clear to me. UniMainModule.EnableSynchronousOperation = True or False !?
Int3g3r Posted November 6, 2020 Author Posted November 6, 2020 I found the solution, it was my fault. Thank you anyway.
Recommended Posts