[Lazarus] TEditButton alignment
Juha Manninen
juha.manninen62 at gmail.com
Tue Mar 19 15:45:24 CET 2013
On Tue, Mar 19, 2013 at 2:12 PM, Vojtěch Čihák <vojtech.cihak at atlas.cz> wrote:
> There only one issue:
> If I click button of stand-alone EditButton then the Edit part keeps focus.
> If I click button of cell-editor EditButton then the Edit part losts focus.
There remains another problem. The button is still outside the
component bounds, isn't it.
That is why you must do this:
> dec(aRect.Right, EditButton1.ButtonWidth); //correction that it will fit to a cell
The Edit+Button on a Panel (or something) would solve that problem.
All parts of a component should be inside its bounds obviously,
I will test more later when I get home.
Juha
More information about the Lazarus
mailing list