summaryrefslogtreecommitdiff
path: root/src/gui/gui_dialogs.pas
AgeCommit message (Collapse)Author
2008-07-17* Applied Luiz Americo's resize patch with minor fixes.graemeg
* Fixed up the setting of FDirty. * Fixed up scrollbar handling in Grid and Listbox components.
2008-07-14* Implemented a ModalResult type and related constants.graemeg
* Updated fpGUI framework to use the new TfpgModalResult type and mrXXX constants.
2008-06-09* Fixed the tiGUIIni read/write formstate information for tiOPF based ↵graemeg
applications. * Fixed the updating of rows in the StringGrid composite mediator (tiOPF) * Minor update to the message dialog include file.
2008-05-19* Merged my private graemeg branch changes (r752:r781) into trunk. These ↵graemeg
changes are required to change all componens from 1-based indexing to 0-based indexing.
2008-04-27* Removed unneeded Canvas.BeginDraw and Canvas.EndDraw calls.graemeg
2008-04-02* Fixed all grids where last line and scrollbar was not always in sync.graemeg
* FileGrid example is now compilable again after last FileGrid changes. * GridTest examples has been neatened a bit and now editable via the UI Designer.
2008-03-28* Many big changes which removes bucket loads of compiler warnins. These ↵graemeg
will probably break code, but they are easy to fix in your own code. * All Grid Columns and Rows are now Longword types and not Integer. We mixed them all over the place, even though the grids do not support negative rows or columns. * Fixed up the UI Designer because of previous change. Same goes for examples. * Made some changes to get fpGUI compilable under FPC 2.3.1 (latest trunk), but yet no fpGUI application runs yet. No idea why yet.
2008-03-18* UI Designer: Implemented a new property editor for the FontDesc property. ↵graemeg
It now calls the Font Select dialog.
2008-03-18* Fixed a bug in the translation units where if both toolkit and application ↵graemeg
translation files do not exist, the translation failed. This is now well tested under Linux for any combination. * Minor update to the Font Select dialog so translated text are not clipped.
2008-03-18* Applied a patch from Vladimir which imploves the file system encoding and ↵graemeg
seems to fix the error received in the File dialog. * I implemented three new functions to retrieve the DPI value of the screen.
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-03-15* Removed the old TDropdownWindow class from gui_combobox.pas unit.graemeg
* ComboBox OnChange event now fires again. * Found and tagged the Dropdown window flicker issue, but not sure how to fix it yet.
2008-03-14* Applied various patch from Vladimir which implements locale file encoding ↵graemeg
support and improves the file dialog.
2008-03-13* Applied patch from Antonio which adds a authentication to User Prompt ↵graemeg
Dialog and added a DB login dialog. * Minor fixes to the user prompt dialog Wiggle method. * Minor fix to TfpgWindowBase.MoveWindow method. * Extended filedialog demo to show an example usage of DB Login Dialog. * Updated the rest of the lang_XXX.inc files with new resource string.
2008-03-12* Applied User Prompt Dialog patch from Antonio.graemeg
* Minor changes to the message dialogs.
2008-03-12* Applied a patch from Vladimir moving some code out of gui_grid.pas to ↵graemeg
gfxbase.pas and getting rid of some IFDEF's in the process.
2008-03-11* Implemented a new fpgGetNamedFontList() functiongraemeg
* Enabled Font Collections support in the Font Select Dialog. Currently only the All Fonts and Alias Fonts collections are active. * TfpgMemo now has a custom internal StringList that will notify the memo of text changes. * Made many code improvements to gui_listbox unit. Lots of redundant code was removed. * Fixed a bug in gui_listbox where the OnChange event did not fire for all instances of FocusItem changing. * Fixed a bug in gui_listbox KeyPress event where it did not take into account that FocusItem is 1-based.
2008-03-10* Implemented the New Directory Dialog and added it to the File Open and ↵graemeg
File Save dialog.
2008-03-04* More more on the MiG Layout port.graemeg
* Added new resourcestring constants to the translation language files. * Localized all the GUI units.
2008-02-27* Created two new units called: gfx_pofiles.pas and gfx_translations.pas. ↵graemeg
They are used for reading PO files and translating the resourcestrings. * TranslateResourceStrings are now called in TfpgApplication.InternalInit(). * Added a new include file for gfx_utils unit. It's a include file for common code across platforms.
2008-02-19* Fixed the text for some of the German translations. Lazarus compiled with ↵graemeg
GTK1 doesn't support Unicode text input. * Localized some of the Font Dialog to see the localization in action and help decide further steps.
2008-01-14* ShowMessage can now Centre of Left Align the text.graemeg
* Long text with paragraphs are now handled and painted correctly in the MessageBox and Message Dialog.
2008-01-11* Refactored some code so that MessageBox and MessageDialog can share some code.graemeg
* MessageDialog doesn't inherit from TfpgBaseDialog anymore. * Implemented all MessageDialog message types. * MessageDialog is pretty much working now. Buttons get created correcty. Returns the correct button clicked. Long text gets displayed and wrapped correctly. I still need to to some code cleanup and more testing and create an example program.
2008-01-10* Made some nice progress with the MessageDialog class. Buttons are created ↵graemeg
dynamically. Captions get set and the default button gets set. I still have plenty to do, but it's progress.
2007-11-29* Created a new overloaded CentrePoint function.graemeg
* Implemented a new method TfpgPopupMenu.MenuItemByName * Created a example project showing how the ICommand and ICommandHolder interfaces can be used.
2007-11-26* Correctly set the default value for some properties in the TreeView.graemeg
* Implemented double clicking on files in the Open/Save dialog.
2007-10-29* Started implementing Message Dialogs (with multiple buttons, icons etc).graemeg
2007-10-17* Fixed a ComboBox clipping issue where long text would paint over the ↵graemeg
internal button. * Base Dialog now has a better min width and height set. * FileDialog example's form is now maintained by the UI Designer.
2007-10-08* UI Designer: Added more available Boolean properties to the Object Inspector.graemeg
* Move inline documentation out of the gui_dialogs unit and into the fpdoc XML description file. * Minor code cleanup in a few units. * TfpgFileDialog ModalResult value has changed for Cancel from the value 0 to the value 2.
2007-09-26* Added copyright information in the GUI units.graemeg
2007-09-18* Minor fix for the Save button state in the File Save dialoggraemeg
2007-09-06* Added a new generic property to TfpgWidget to dispatch messages sograemeg
the GUI Form Designer can intercept them. * File Save dialog can now save even if the file does not exist. Still needs a little bit of improvement. * GUI Designer now detects OS messages in designer window. * Painting has been improved a bit, though the z-order is still screwed. * The formating of a new template unit has been improved.
2007-08-25* ShowMessage dialog is now not resizable and centers itself on the screen.graemeg
* Added some basic menu items to the docedit project.
2007-08-24* Ported the Generic Edit Mediator for use with tiOPF.graemeg
* Minor changes to other gui controls like missing published properties etc. * Added a Hint property to TfpgWidget, but it is not usable yet.
2007-08-22* Started the implementation of a StringGrid. It is graemeg
not complete yet.
2007-08-22* Minor improvements to the File Dialog.graemeg
* Added some documenation comments explaining the File Dialog Filters property. * Extended the FileDialog example using custom Filters.
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-17* FileDialog: Focus is now in sync in the grid based on you last directory ↵graemeg
you exited or the first item when you go deaper in the hierarchy.
2007-08-17* FileDialog: Drive combobox and File grid are now in sync at all times.graemeg
2007-08-17* Minor tweak to get FileDialog to work under Windows.graemeg
2007-08-17* Implemented a FileOpen and FileSave dialog. Both are the same class. It'sgraemeg
not 100% yet. See ToDo list in header of gui_dialogs unit. * Minor bug fix in ComboBox component and added missing (required) properties. * Fixed a bug in TfpgCustomGrid.Destroy. Creating a decendant of TfpgCustomGrid caused a crash in the destructor. * Fixed bug in ListBox where scrollbar did not move with mouse wheel input. * Added a new FileDialog example project.
2007-08-14* Updated a few scripts in the docs directory.graemeg
* Minor changes in the style unit. * Added a new examples/apps/docedit project. Once complete it will be a demo application of fpGUI and at the same time show most used widgets in action. DocEdit will become something like lazde is to Lazarus.
2007-08-12* Extended the sample text string used in the Font Select dialog.graemeg
2007-08-12* Implemented a Base Dialog class.graemeg
* Implemented 95% of the Font Select dialog. * Completed the FontSelect example project.
2007-08-11* Started implementation of a Font Selection dialog. (not complete)graemeg
* Created a new FontSelect example to demo new dialog.
2007-07-23The first part of removing the obsolete fpGUI and replacing it with the new ↵graemeg
multi-handle design from the prototypes directory.