Age | Commit message (Collapse) | Author |
|
By default the mouse pointer changes to a I-beam when the mouse enters
the TfpgEdit component. This property overrides that behaviour.
|
|
|
|
if a Warning message dialog was shown with Yes/No buttons, and the user
canceled the dialog via Esc key or window frame X button, the dialog result
is mbCancel. The ACloseButton value can now replace the default mbCancel
result with whatever the user specifies.
If a mbCancel button is in the AButtons set, then ACloseButton is ignored.
|
|
When a message dialog was shown, mrCancel would be the modalresult if the
dialog is closed with the Esc key. But the modalresult was undefined if the
user closed the dialog with the window frame X button.
Now mrCancel is set in both cases.
|
|
|
|
|
|
|
|
When a Edit component is ReadOnly, not all the options was correctly
disabled. Also, even though Delete (clear edit contents) was disabled,
it still fired when enter key selected that option. Now all this is
fixed.
|
|
work.
Now even though the Edit component is read only, you can select text with
the keyboard, tab in/out and activate the popup menu with the Menu key.
|
|
When the component gets focus and autoselect is enabled, if you pressed the
right arrow it did not unselect the text, but the left arrow did. This is
now fixed.
|
|
|
|
This is required for loading forms at runtime, on when creating new
tabsheets at runtime with Owners set in the constructor.
|
|
Before this was a manual process. But if the ActivePage was set programatically,
the event never fired. This is now fixed.
I also changed the internal DoChange event to DoPageChanged - it's now a
bit more descriptive.
|
|
This only occurs in the UI Designer. tabsheet.text will be the same value
as the component Name property.
|
|
properties are populated.
|
|
There is no user interaction via mouse yet, just visual painting and
keyboard handling works.
|
|
This is getting ready for new tab positions which will follow shortly.
|
|
|
|
|
|
|
|
* New name is MaxButtonHeightSum()
* Also set default FixedTabHeight value in constructor which I forgot before.
|
|
This is only visual painting, no user interaction yet. This is also
just the initial painting - it needs some more tweaking before it
is 100% correct.
|
|
|
|
|
|
|
|
I added some useful internet links to the header of the unit.
Win32 API, WinCE API and general FPC WinCE information.
|
|
Thanks to Jean-Pierre ANGHEL <jp.anghel@bbox.fr> for help with implementing
this.
|
|
Functionality did not change.
|
|
* SelectedDir is now a read/write property
* SelectDirDialog() now handles the AStartDir parameter.
|
|
I used Google Translate for the non-English languages - I guess there
will be some errors. :-/
|
|
Now it does.
|
|
* fpgAppendPathDelim()
* fpgRemovePathDelim()
|
|
* Removed duplicate / char under Linux
* Fixed directory selection under Windows - this was totally broken.
Thanks to Jean-Pierre ANGHEL <jp.anghel@bbox.fr> for some support
on this and bringing it to my attention.
|
|
|
|
WS_BORDER is still under test. Problem is that if we include it, it
draws a border on all windows, including Labels, Buttons, etc. :-(
|
|
* We can now change from the standard (default) hint window to a custom hint
window at runtime.
* Hint window also has better sanity checks for sizing.
|
|
resource usage.
* Changed the parent class of TfpgHintWindow to TfpgBaseForm
* Removed the internal TfpgLabel, and instead paint directly to the
form canvas.
* Due to previous change, we now manually need to paint borders if
needed - not a problem.
* Removed unused properties and surfaced existing properties from
TfpgBaseForm. eg: BackgroundColor, TextColor etc.
|
|
It now correctly frees the old hintwindow and recreates it with whatever
the new hintwindowclass is.
|
|
|
|
Patch supplied by Adrian Veith <adrian@veith-system.de>.
|
|
|
|
* This demo actually had 3 memory leaks which are now fixed.
* I introduced new painting routines using GradientFill instead
[now this works correctly on WinCE devices too]
* Added an option for exiting the application cleanly.
|
|
|
|
Thanks to Adrian Veith <adrian@veith-system.de> for the patch.
|
|
|
|
|
|
|
|
|
|
Two embedded buttons are now added. One showing the embedded form visible
by default. The other loading the embedded form visible = false by default.
Also added a statement that prints a component hierarchy showing the
value of Visible - for debug purposes.
|
|
A minor fix to correct visibility of child components when creating embedded
forms which have menu bars. HandleShow is not called in such cases, so
vital code was skipped. This code has now moved to HandlePaint which is
always called.
|