Recent

Author Topic: Minor runtime visual glitch with group box  (Read 2125 times)

Pontiac

  • New Member
  • *
  • Posts: 20
Minor runtime visual glitch with group box
« on: November 11, 2015, 03:06:15 am »
Very minor issue, however, it'll bug me. :]

I noticed that when I have a group box sitting inside a panel, clicking on the group box causes flicker.  Delphi 2010 had a "Double Buffered" option.  Is there something similar to this in Laz, or something I can do to stop the flickering?

The group box is set to be aligned with client.

I'm using version Laz 1.4.4 for Win32/64.

I just noticed now that clicking on a group box causes most things to get redrawn in the box.  tLabels are very effective at showing this particular issue.

Edit: It seems that the repaint happens on mousedown and mouseup.  Shouldn't the components inherited events check to see if it is actually IS being moved instead of just clicked on?  Either that notice that if it is aligned to client, don't redraw entirely on a mouse click/release event?

Edit2: This UI glitch also only seems to happen on LMB actions.  MMB and RMB have no visual distraction.
« Last Edit: November 11, 2015, 03:24:35 am by Pontiac »

 

TinyPortal © 2005-2018