Age | Commit message (Collapse) | Author |
|
Somehow I forgot to rename this type when we introduced the 'fpg' prefix years ago.
|
|
|
|
This means that the internal state of the result component instances
are set correctly - without extra developer intervention.
|
|
* This was done in preperation for layout managers which will
control widget sizes, and AutoSize will just interfere.
* Default Height is now set at 24px (same as what it was before
with default Arial font)
* Also implementeted setter for AutoSize property. This now
correctly adjusts the widget set when the property is changed
to True.
|
|
Old behaviour was that the beginning of long text was scrolled
off the left of the edit, so you saw the end of the text.
Now we should see the beginning of the text and the end of the
Text is out of view on the right.
|
|
This is so they can be tested. Once DND stabilizes, I'll make the
properties available on the other components too.
|
|
The property does more that just set the color. It calls FormatEdit,
which changes the color of TextColor property. This meant the
parent color was never stored in FOldColor field variable.
|
|
By defining the default color, the UI Designer can omit that
line in generated code, if the color did not change.
|
|
Those properties are exactly the same visibility as inherited
classes, so no point in simply listing them again.
TextColor was the exception, it was public, so you can't decrease
the visibility in descendants.
|
|
|
|
repaint
|
|
* Now the UI Designer can work with that property too
* A few other components got one or two other properties published too.
|
|
This is just a start, so a few widgets can be tested with DND. After DND has
be tested more, other widgets will get the published properties too.
|
|
|
|
* now read-only and disabled states display correctly.
|
|
|
|
Before we had a hard-coded top co-ordinate for the text. This
caused problems when the TfpgEdit.Height was adjusted for some
reason. So now we rather use the Canvas.DrawText() and give it
a rectangle and text flags so text output can be calculated
correctly. This is very useful for inline editing in a StringGrid.
Internally Canvas.DrawText calls fpgStyle.DrawString, so custom
styling should still be applied.
|
|
The old behaviour was indistinguishable between Disabled state
with actual Text. So we had to modify the ExtraHint painting.
|
|
|
|
Text can now be inserted into a TfpgEdit via the Character Map dialog.
|
|
If True (default), then the Height will be adjusted based on the
FontDesc being set.
|
|
By default the mouse pointer changes to a I-beam when the mouse enters
the TfpgEdit component. This property overrides that behaviour.
|
|
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.
|
|
|
|
|
|
|
|
|
|
So far it's just a "dummy" property that does nothing.
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>
|
|
|
|
|
|
|
|
|
|
property which is separate from the Hint property.
|
|
- Private DrawSelection method is now a protected virtual method.
- New TfpgBaseTextEdit class introduced that only does Text string functions.
- Numeric edits now only do Numeric selection handling. This removes the selection paint bug which flashes quickly.
- Hint text inside TfpgEdit now disappears on receiving focus and not only when text is entered.
|
|
|
|
* Registered the TMediatorItemComboBoxView in tiMediators.
|
|
and loose focus with the mouse cursor.
|
|
EditCurrency.
|
|
* Renamed EditXXX's DecimalSeparator and ThousandSeparatar properties to not conflict with the global variables in SysUtils.
* Added EditCurrency, EditFloat and EditInteger to the UI Designer palette. I still have issues with TfpgChar type, so you have to use the 'unknow' memo in Object Inspector.
* Minor changes in edits demo to compile again after the above changes.
|
|
|
|
|
|
* Replaced Char with TfpgChar for TfpgBaseNumericEdit
* Fixed visiblity of GetClientRect in TfpgAbstractPanel
* Fixed text position in TfpgBaseNumbericEdit - spacing from the right.
|
|
|
|
* Changed the AChar parameter of UTF8CharAtByte to a out parameter.
|
|
|
|
|