Age | Commit message (Collapse) | Author |
|
The old shortcuts were some unique fpGUI combination which confused
everybody, and didn't work so well anyway. These old ones are now removed.
|
|
|
|
The problem was that if you didn't specify ActiveTab*Color values, but did
specify a Tabsheet to have a different color, when that tabsheet became
the active one the color changed to clWindowBackground. This looked odd.
Now the ActiveTab*Color = clDefault that tabsheet will still maintain its
color, even if it is a background tab or a active tab.
When you assign any other color value to ActiveTab*Color (not clDefault),
then they will take preference.
* Also prevent an error when calling DrawTab with the ATabSheet parameter
being nil
* refactored some color assignment code
|
|
Signed-off-by: Jean-Marc.Levecque <jmarc.levecque@bbox.fr>
|
|
|
|
|
|
Quite a lot has been done, but there are still many remaining. I'm
getting there. ;-)
|
|
Signed-off-by: Jean-Marc.Levecque <jmarc.levecque@bbox.fr>
|
|
Arrow keys, PgUp, PgDn, Home, End, Enter, Tab, Backspace were all consumed
internally and prevented the keycode from being set correctly.
|
|
|
|
|
|
|
|
Recently we removed some variables that were needed for AggCanvas ifdef'ed
code.
|
|
|
|
|
|
Old behaviour was to disable DND when WINCE is active. The HAS_DND
compiler define now does this. HAS_DND is enabled by default for Windows,
and disabled for WinCE platforms.
|
|
Just like before, it simply isn't needed for normal fpGUI usage.
|
|
It causes extensive debug info and checks not required for normal usage.
|
|
Making it a bit easier to compile the framework for this platform.
|
|
* Disabled OLE support for WinCE
* Disabled Drag-n-Drop support for WinCE
* Fixed PChar vs PWidechar types
* Fixed IFDEF's. Differences between MSWINDOWS, WINDOWS and WINCE.
|
|
This reverts commit 58fbaf95ad23b3b3393d172cbee6cc0eea5611d9.
|
|
|
|
So we have to specify the fpg_base unit so the compiler knows which
structure we are refering to.
|
|
|
|
- GetFormByClassName()
- GetFormByName()
|
|
- That includes any color conversion functions
- Projects using TFPColor
|
|
|
|
* fpgGitBit() - queries bit values
* fpgSetBit() - sets bit values
* fpgIntToBin() - outputs bit valuse as a string
|
|
and Memo
|
|
|
|
Before the tokenizer didn't accept a font name that contain the @ or - symbols,
thes the font name listbox never had any selection shown.
|
|
|
|
be selected
For example: '@Terminal-10' did not work. Neither did 'VNI-Bamas-10'. The
tokenizer was improved to look-ahead or accept extra characters like the
@ symbol.
|
|
|
|
|
|
We really don't need yet another "default font". All references to
fpgApplication.DefaultFont has been changed to fpgStyle.DefaultFont - as
it should be.
|
|
If the fpgStyle changed at runtime, those font reference variables
are out of scope and causes a runtime error.
|
|
If the fpgStyle was changed at runtime, the FFont reference variable
was out of scope and caused a runtime error. We now simply ask fpgStyle
for the DefaultFont and then all is well.
|
|
PagerWidth -> PaperWidth
Thanks to Juha Manninen for reporting this.
|
|
|
|
Added Listview property OnItemActivate for when an item is doubleclicked or enter is pressed for a selected item.
Added Column property AutoExpand the column will use any space leftover in the listview width. Setting to True unsets the property on other columns.
Added Listview property ShowFocusRect. Sets wether or not the selected item's focusrect is drawn.
|
|
Removes unnecessary colors from the demo.
|
|
The reason this was done, is because the RELEASE mode allows FPC to strip
out code that isn't used by the framework. This causes a problem for other
projects, because other projects might still need that stripped out code
(eg: Docview). It run it often causes a "identifier not found" error.
Switching back to DEBUG build means those projects compile without problem.
|
|
This means if we want to change the FPC binary we only need to edit
one line.
|
|
Fixed xml conflicts of lpi's manually
Conflicts:
examples/gui/filedialog/filedialog.lpi
examples/gui/modalforms/modalforms.lpi
|
|
|
|
Now the TfpgStyle class will free the font objects if they are reassigned
No more memory leaks or manually freeing the font objects first.
|
|
|
|
Thanks to Fred van Stappen for the original contribution. I (Graeme)
make a couple more changes, code clean-up, and dialog translation.
|
|
|