Age | Commit message (Collapse) | Author |
|
This script contains paths related to my system. I'll see if I
can generalize it a bit more in future. I'm pretty new to
cross compiling with FPC.
|
|
ListBox.items.Assign(AItems) cause the listbox to redraw after every item
was added - seriously delaying things. This bug has now been fixed.
|
|
|
|
|
|
* Implemented InvokeHelp in TfpgWidget
* implemented InvokeHelp and OnHelp event in TfpgForm
* Implemented HelpConext, HelpKeyword and HelpType in TfpgComponent
|
|
* Content does not scroll vertically off the screen anymore.
* Vertical scrollbar button now positions correctly when scrolling
with mouse wheel of scrollbutton slider.
|
|
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
|
|
|
|
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
* Also replaced various FFormDesigner checks with InDesigner method.
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
Still plenty to do, but at least it can launch the help viewer now.
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
Part of the "golden ratio" goodies. It seems to me more pleasing
to the eye if a dialog is not 100% centered in the window, but
rather 1/3 down of available vertical space. I think Mac OS X
also does this.
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com>
|
|
ScrollBars are a special case and require BeginDraw & EndDraw inside
the HandlePaint event because the component also does drawing from
outside the HandlePaint event. eg: When draging the scrollbar button
around.
|
|
The coordinates of DrawString is the top/left corner of the string.
So the actual text appears below y.
|
|
This will be implemented soon.
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
So far it's just a "dummy" property that does nothing.
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
It's just a handy function instead of FormDesigner <> nil etc...
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
If the background color was changed at runtime, the cached colorwheel
image never knew about it. So the margin color was changed, but the
color around the colorwheel was not.
|
|
|
|
|
|
These components will allow us to implement a color selection dialog.
|
|
|
|
Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com>
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
|
|
This allows you to insert text at the current cursor location. This
just makes it easier for the user and reused the DoPaste which was
initially for Clipboard support.
The is work towards the Character Map support in TfpgEdit popup menu.
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
This forms part of the fpg_dialogs.pas unit. There is aslo
a easy access method called fpgShowCharMap and returns the
text selected by the user.
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
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.
|
|
- fpc 2.3.1 Error: Fields cannot appear after a method or property
definition
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
- Added new resource strings for True/False
- Translated new resouce strings for all languages
- On application initialization the RTL true/false strings are
set according to the current active translation so BoolToStr()
method will be localized.
|
|
|
|
|
|
|
|
* If BoxLayout = right, then the text caption could paint
over the radio or check images. This is now fixed.
|
|
* Checkbox and RadioButton images overlap the focus rectangle
when BoxLayout is right aligned.
|
|
|