Age | Commit message (Collapse) | Author |
|
We incorrectly set the consumed variable, and called inherited
unnecessarily. This is now improved.
|
|
Before the menu only used to process the Alt+<key> events for the
mainmenu bar (top level menus). Now we recursively run through all menu
items looking for a hotkey match.
|
|
This is done because DoKeyShortcut() clearly says what it does. It only
processes keyboard shortcut events.
|
|
This is a UI Designer friendly component that allows you to embed frames
"Windows" inside other windows.
|
|
- Renamed the timer field variable from T_Chrono to FTimer.
- Renamed the OnTimer event handler from T_ChronoFini to HintTimerFired
- Disabled the timer *before* hinding the hint window. This prevents
those add AV's that occur when you close an application.
- No need to explicityl disable the timer in HintWindow destructor.
When you free a timer, it automatically gets disabled.
|
|
This is consistent with other components in the RTL, FCL and even fpGUI
itself.
|
|
I have successfully tested fpGUI using OpenSolaris 2010.03 (x86) using
FPC 2.4.4.
|
|
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.
|
|
A slightly tweaked DrawButtonFace() is all that is really required.
|
|
Prevents a possible compiler error.
|
|
This meant that sometimes we couldn't select the desired date.
|
|
|
|
|
|
|
|
this allows us easy access to what database the user selected.
|
|
This gives the user another chance to log in.
|
|
Calling FollowFocus already calls CheckFocusChanged.
|
|
This will make sure that EndUpdate is called, even if we get an error
somewhere in between.
|
|
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.
|
|
This is an initial implementation for Linux only. Currently this property
is read-only, but that alone is already very useful. Next I'll implement
the Windows support, and later the read-write support.
|
|
|
|
This component allows you to set all components on a form or embedded containers
as ReadOnly = True/False by just toggling one property on TfpgReadOnly.
|
|
This event fires when we have successfully changed the name of the filename.
|
|
|
|
We painted the background rectangle twice. So I just removed the duplicate
paint code.
|
|
Not sure if this will break anything. I can't really see why it should.
|
|
|
|
The ComboBox.Checked property now fires the event even when set programmatically.
So we better set the event handler AFTER we set the Checked property. This is
how it is done in all other components anyway.
|
|
Before the OnChange was not fired, but now it is. The only exception is while
the widget is in the UI Designer form.
|
|
Field variable prefixes must be a capital F.
|
|
Some published properties did not have their default values set either.
|
|
|
|
This applies to Top, Left, Width and Height properties. This will then
correctly setup the internal component state for resizing.
|
|
|
|
|
|
|
|
Somehow I forgot to rename this type when we introduced the 'fpg' prefix years ago.
|
|
Somehow I forgot to rename that type name when we moved over to the 'fpg' prefix.
|
|
|
|
These will later contain the various style implementations.
|
|
This unit contains a Style Manager that will be used to register any new
styles with. It also creates a default style instance. It also allows users
to change the default style any other style, or custom developed style.
|
|
This unit will later contain the TfpgCommonStyle (currently known
as TfpgStyle) code.
|
|
This gives use the fpg_style unit in the 'gui' directory to implement
styles we can actually use at this time with the existing theming code.
|
|
This fpg_style prototype unit should really be removed. I don't like the
code at all, and it isn't actually used in any of the GUI widgets yet.
|
|
|
|
Seeing that we already use a few methods directly from fpgStyle, lets change
all the others to be consistent.
|
|
Custom styles can now define there own button shift values and the TfpgButton
will adhere to them.
|
|
|