Age | Commit message (Collapse) | Author |
|
|
|
The HandlePaint() method is already wrapping with BeginDraw/EndDraw
calls in the TfpgWidget class.
|
|
We never used to check if we are allowed to set the FFocusCol, we just
assumed we are allowed. Now we try each column while calling CanSelectCell()
in each iteration so we select the first available column.
|
|
Old behaviour we simply forced Consumed = True and later Consumed = False.
This has a very good chance of overwriting the origin consume value. We now
only set consume to True, if it is really so.
|
|
Calling FollowFocus already calls CheckFocusChanged.
|
|
resized.
- My calculations was totally out of wack! Now it works
as it should.
- Also made sure scrollbars are correctly updated if
Beginupdate..Endupdate is used.
|
|
The horizontal scrollbar was always the same size as the width of the
grid, so it couldn't actually scroll columns.
|
|
Grid.HeaderStyle has Button, Thin and Flat options
New DrawBevel can draw a bevel raised or lowered using standard system
colors. Quite similar to TfpgBevel.
New DrawBevel() method and new Grid.HeaderStyle option.
|
|
This patch improves the default scrollbar thumb button size
calculation (SliderSize value).
|
|
|
|
I don't want to alter behaviour of existing fpGUI applications.
|
|
It now needs lots of testing though!
|
|
When a grid has zero rows and you add a row, neither OnRowChange
nor OnFocusChange get fired. This patch fixes this.
|
|
The AlternativeBGColor property only takes affect when the
go_AlternativeColor grid option is enabled. go_AlternativeColor
also takes preference over ColumnBackgroundColor[]
|
|
|
|
At the moment the popup menu only appears if user clicks outside
the Header row. Maybe this behaviour will become user selectable
in the future.
|
|
This caused the OnDrawCell AFlags variable to always contain gdSelected
and gdFocused - which made OnDrawCell event handlers rather useless. This
is now fixed!
|
|
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
- When RowCount was changed it refreshed the grid to much.
- BeginUpdate / EndUpdate did not always update scrollbar position.
|
|
BeginUpdate..EndUpdate requests.
* StringGrid now has a Clear method.
|
|
* UI Designer has been updated to reflect the new gui unit names.
|