summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
2011-04-23new TfpgEditButton component with ellipses glyph on the button.Graeme Geldenhuys
2011-03-08Calendar Check Combo did not paint date text in correct position.Graeme Geldenhuys
Now it takes into account the height of the component and calculates the text position accordingly.
2011-03-08Combobox margin fixGraeme Geldenhuys
When painting the combobox did not take into account that the margin applies to both the left and right side of the combobox.
2011-02-07ComboBox: New Margin default 3 -> 1.Graeme Geldenhuys
The Margin is how many pixels from the internal background the text must appear. Later we will replace this with SideMargin and HeightMargin properties.
2011-02-07ComboBox: text position is now the same as TfpgEdit.Graeme Geldenhuys
We now use Canvas.DrawString() to auto calculate the text position based on the text flags passed in. This is now the same as TfpgEdit does.
2011-02-07Combobox fix: Setting the Martin cause the Height to change.Graeme Geldenhuys
Now the Height will only change if AutoSize is actually enabled.
2011-02-07HyperLink Label: published some more properties.Graeme Geldenhuys
2011-02-07Memo: SetText now assigns incoming text as is to the internal stringlist.Graeme Geldenhuys
No more manual handling of LineEnding characters etc, because StringList does that already, and our custom handling causes blank lines to disappear in the memo. Not what we want.
2011-02-02Using CreateLabel and a custom font did not resize label component correctly.Jean-Marc Levecque
2011-01-19A little tweak to allow sorting of ListViewDavid Emerson
2011-01-13tabs: When creating tabsheets, there sizes are immediately calculated.Graeme Geldenhuys
* A new constructor was also added where you can pass the tabsheet title, so tabsheet size can be better calculated if tabs are set to Left or Right.
2011-01-13button: CreateButton() helper method never called UpdateWindowPositionGraeme Geldenhuys
2011-01-13treeview: various changes due to new resizing behaviour of toolkitGraeme Geldenhuys
* Also fixed the issue where the treeview did not always display in the UI Designer. * When the treeview is in the UI Designer, then only limited painting occurs.
2011-01-13treeview: publish more properties and set default values.Graeme Geldenhuys
2011-01-13Spinedit: extra check is required due to new resizing behaviour.Graeme Geldenhuys
2011-01-13Creating various Edit components via helper functions now call UpdateWindowStateGraeme Geldenhuys
This means that the internal state of the result component instances are set correctly - without extra developer intervention.
2011-01-12Set Width and Height properties so internal state is correcty.Graeme Geldenhuys
We must not use field variables for Width, Heigh, Top and Left any more.
2011-01-12PageControl: Set a default value for published property ActivePageIndexGraeme Geldenhuys
2011-01-12Use Width and Height properties instead of internal fields in constructorGraeme Geldenhuys
This is sow that the internal FPrevXXX and other state information is setup correctly. The Edit Button controls also needed some extra code to work correctly in the UI Designer.
2011-01-12Incorrect anchors was set for pnlChar in Character Map dialog.Graeme Geldenhuys
2010-12-22Fixes a Index out of bounds error in Memo. Thanks Michael van CanneytGraeme Geldenhuys
2010-11-30minor bugfix in menubar repainting after a popup window closes.Graeme Geldenhuys
2010-11-30TfpgMenuBar now offloads menu bar background painting to current fpgStyle ↵Graeme Geldenhuys
instance.
2010-11-30MenuBar now shows selected menu item of shown popup menu as indented bevelGraeme Geldenhuys
2010-11-30menu: consistent parameter name as used in TfpgMenuBar.Graeme Geldenhuys
2010-11-19Radiobutton image repositioned the same as was done for Checkbox widget.Graeme Geldenhuys
* Painting is now near identical to Checkbox painting. * Focus rectangle is now only around text. Same reason as before. The left margin was 4px's which meant radiobuttons never aligned nicely with other widgets. Now the margin is only 2px so alignment is much better using the same left co-ordinate.
2010-11-18PageControl: introduced BeginUpdate and EndUpdate methods.Graeme Geldenhuys
Because new now only paint inside the HandlePaint() method, we need some optimization while setting properties. BeginUpdate now blocks painting until EndUpdate it called.
2010-11-18PageControl: tabs painting is now only done in HandlePaint()Graeme Geldenhuys
Painting outside the HandlePaint is possible but very unpredictable, so it is best we do not do it.
2010-11-18grids: A massive speed improvement in destroying a grid with large amounts ↵Graeme Geldenhuys
of columns.
2010-11-16ReadFormState in INI handling can now ignore size dimensions if needed.Graeme Geldenhuys
This is handy if you apply version version information to your ini files, and on a new version the program must ignore the old size values (because that sepecific form might have changed dimensions at design time).
2010-11-15Fixed compiler errors when DEBUG define is defined globally.Graeme Geldenhuys
2010-11-12checkbox: improved painting, and slight adjustment to image positionGraeme Geldenhuys
* Before, the image was 4 pixels away from the left, in default layout So when you align many components with there left edges, it looked as if the checkbox widget wasn't aligned correctly. * Now the image is only 2 pixels from the edge, so aligning with other widgets looks much better. * Focus rectangle is now only drawn around the text portion of the widget too. This is now similar to most OSes.
2010-11-12ComboBox widget now has a AutoSize property default set to FalseGraeme Geldenhuys
* ComboBox was always auto sized which is not always desired. We now have a property to control that behaviour. * Default is False, in preperation for layout managers which control the size. * Widget frame borders are now retrieved from the current Style instance. * default Height is set to 24px. The same default used for TfpgEdit widget. Default sizes have been moved up into TfpgBaseComboBox, out of TfpgBaseStaticCombo.
2010-11-12Edit widget: changed AutoSize default to FalseGraeme Geldenhuys
* 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.
2010-11-12Added "call stack debugging" for internal use.Graeme Geldenhuys
It's disabled by default. Enabling can be done via project level or inside each unit at the beginning of such units.
2010-11-12Position the cursor correctly inside a Edit with text.Graeme Geldenhuys
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.
2010-11-11about fpgui dialog: improved the wording.Graeme Geldenhuys
2010-11-11File Open/Save dialog now reacts to ENTER key pressGraeme Geldenhuys
Another one of those annoyances I had to fix. When I enter a file name to save and want to press ENTER to save and close the dialog.
2010-11-11listview bugfix: removed index out of bounds errorGraeme Geldenhuys
2010-11-10Implemented some overlooked methods for Listview subitems.Andrew Haines
2010-11-10Fixed bug where images would be drawn over the headers when partially ↵Andrew Haines
scrolled. DrawImage does not obey the cliprect.
2010-11-10Implemented painting Listview Subitems iconsAndrew Haines
TfpgListView.Subitems is actually TfpgListViewSubItems and can be casted as such to alter the imageindex of subitems Updated the example so subitems have an assigned imagelist
2010-11-10Started implementing Icons in listviewAndrew Haines
Fixed a crash in the listview example when it was closing Updated listview example to use icons
2010-11-08Listview selection now uses an avl tree which is much faster than TList with ↵Andrew Haines
a large amount of items Commented a stray WriteLn
2010-11-08Improved listview selection so that it is more reliableAndrew Haines
2010-11-09* Added property IgnoreDblClicks to TfpgWidgetAndrew Haines
* TfpgButton now ignores double clicks by default
2010-11-01PageControl: Right click popup menu caption now shows tab you clicked overGraeme Geldenhuys
* The popup menu caption changes if you click over any non-active tabs * Selecting the popup menu item, closes the tab you clicked over - no need to set it as the active tabsheet first, before closing.
2010-11-01fpg_tab: Refactored HandleLMousUp and extracted most of the code into a newGraeme Geldenhuys
method called TabSheetAtPos(). This allows the developer to reuse this method too for other things.
2010-10-29New Grid HeaderStyle property, and new Canvas/Style.DrawBevel() methodGraeme Geldenhuys
Grid.HeaderStyle has Button, Thin and Flat options New DrawBevel can draw a bevel raised or lowered using standard system colors. Quite similar to TfpgBevel. New DrawBevel() method and new Grid.HeaderStyle option.
2010-10-29TfpgButton.Down property didn't have a default in property declaration.Graeme Geldenhuys