summaryrefslogtreecommitdiff
path: root/src/corelib/gfx_popupwindow.pas
AgeCommit message (Collapse)Author
2008-06-27* Introduced a new property to TfpgWidget, called IsContainer for allgraemeg
components that act like containers (Panel, Form, etc). This optimizes the Component Alignment calls. * All resizing calls now get routed through DoUpdateWindowPosition() so they have a more consistent execution path. * OnResize now get fired when components get resized, and not just for Forms. * HandleAlignments() is now only called when needed. * Fixed the bug where Alignment didn't work when components are resized at runtime. * Removed compiler warnings form gui_mru.pas unit. * Memo's scrollbar now gets adjusted correctly when it's text is modified via code. * Minor bug fix when deleting line in a Memo component. The 'Index out of Bounds' error still occurs though. That will be fixed shortly.
2008-05-13* Added a overloaded ShowAt() method so we do not have to pass in the first ↵graemeg
parameter as nil.
2008-05-13* Popup window can now use screen coordinates as well in the ShowAt method.graemeg
2008-04-11* Implemented OnClose event for TfpgPopupWindowgraemeg
* Implemented OnDropDown and OnCloseUp for any combobox type component. * TfpgCombobox.FocusItem can now be set via code without the OnChange event firing (default). This behaviour can be modified with the TfpgComboBox.Options property.
2008-03-19* Finally I seem to have solved the mystery of the ComboBox that refuses to ↵graemeg
close. And what a silly bug it was. * Applied a minor fix to CalenderCombo so it behaves like the normal ComboBox.
2008-03-16* Fixed a bug in File Save Dialog where you can not save a new file anymore.graemeg
* Fixed the ComboBox dropdown flicker issue under Linux. I still need to test if it exists under Windows to. * Fixed the Popup Menu bug under Linux where it keeps closing before you can use the menu.
2008-02-18* I think I fixed the issue with PopupWindows taking focusgraemeg
under Windows. * I think I fixed the click selection issues in ComboBoxes. * Also I believe the Calendar component now works under Windows. * Menuse should now works correctly. All the above tested on Win2k. * Due to the above changes I had to modify resizer component in the UI Designer. There is still one minor issue, but that should be fixed soon.
2008-02-15* Applied Jean-Marc's TextColor and BackgroundColor patch.graemeg
* Made many more modifications based on Jean-Marc's patch and fixed a few things missed.
2008-01-26* Middle mouse button click was never detected.graemeg
* CaptureMouse and ReleaseMouse is now not used by default for the TfpgPopupWindow class. * Menu mouse behaviour improved * Fixed Combobox dropdown that did not react to mouse clicks. * Removed support for changing the focused item with the arrow keys. It's not standard behaviour.
2008-01-21* Fixed some memory leaks in TfpgComboBox.graemeg
* Fixed the destruction order of TfpgComboBox. * Introduced DoRemoveWindowLookup() in gfxbase.pas so that we can offload some of the responsibility from DoReleaseWindowHandle() * Add two new debug methods to help debug fpGUI and fpGUI based applications. They are PrintCallTrace() and PrintCallTraceDbgln(). * Fixed 'Index out of bounds' error when quiting your application. * I included lots of debug output in this revision, so I can test under Windows. As soon as I confirmed everything works, I'll remove the debug output again.
2008-01-02* Fixed AV that occurs when a combobox is opened and closed a few times.graemeg
* A minor improvement to the internal stringlist for ListBox components.
2007-12-27* ComboBox dropdown now opens and closes as expected when you click insidegraemeg
the body of the combobox. * When OnClick was introduced in TfpgWidget, it caused duplicate OnClick calls. This has now been fixed. * PopupWindow.Close now calls HandleClose instead of HandleHide. * Fixed a few bugs in ComboBox and ListBox components.
2007-11-05* More improvements to Calendar component.graemeg
* Lots of refactoring in the text Edit component. * Added a new property BorderStyle to the Edit component.
2007-11-03* Started working on a Calendar component.graemeg
* Created a new example project to test the calendar component. Please note it is NOT complete yet. * Added a ScrollBarStyle property to BaseGrid to control the ScrollBar visibility.
2007-10-28* Fixed the menu click issue under Windows.graemeg
* Added a new DumpStack procedure to help programmers debug there code.
2007-09-14* Introduced Setter methods for BaseWindow Width and Height properties.graemeg
* Fixed a minor bug in ComboBox that maintained it's own Width property. This also fixed the issue in the uiDesigner loading forms with comboboxes and not painting the internal button.
2007-08-21* GDI: Fixed popup window support.graemeg
* Improved menu painting with a bit of optimization. * GDI: Implemented OnDoubleClick in TfpgWidget. * Implemented DoubleClick in FileDialog (tested under Windows only) * GDI: Fixed minor bug in DoWindowToScreen which prevented popup windows from working.
2007-08-20* Added keyboard handling in PopupMenus.graemeg
* Improved the look of Popup Menus to look more 3D like Win2000. * Fixed a bug where sub-sub menus didn't close when you selected a new top level menu.
2007-08-18* Moved and renamed gui_popupwindows.pas unit from GUI to CoreLib.graemeg
* X11: Completed popup window support. * GUI: Amended TfpgComboBox to rather use a popup window for the dropdown portion of the control. * The previous change fixed the issue in the FileDialog where you couldn't select a combo box item with the mouse.