Commit Graph

2361 Commits

Author SHA1 Message Date
vincents
18a391d3e5 added constants for gtk1 version, fixes fpc 1.0.x compilation
git-svn-id: trunk@6800 -
2005-02-18 09:44:30 +00:00
mattias
d55f91952d fixed TCalendar from Salvatore
git-svn-id: trunk@6791 -
2005-02-17 18:32:32 +00:00
mattias
0882395f3e fixed gtk2 intf checking if signal already connected
git-svn-id: trunk@6790 -
2005-02-17 02:10:53 +00:00
mattias
925cc87469 fixed some gtk2 intf warnings
git-svn-id: trunk@6789 -
2005-02-17 00:05:25 +00:00
mattias
81a07bf019 fixed some gtk2 intf mem leaks, clean ups
git-svn-id: trunk@6788 -
2005-02-16 23:56:51 +00:00
mattias
ba5ffc3f0e fixed define templates quotes
git-svn-id: trunk@6787 -
2005-02-16 23:31:16 +00:00
mattias
73a58828fa improved gtk intf file dialog filter from C Western
git-svn-id: trunk@6786 -
2005-02-16 22:55:59 +00:00
mattias
799a2c918f fix gtk2 scrollbars from Jesus
git-svn-id: trunk@6782 -
2005-02-15 10:33:31 +00:00
micha
dc9a14d438 fix bug #602, statusbar loses text on first panel
git-svn-id: trunk@6781 -
2005-02-12 16:54:17 +00:00
mattias
ac8ba31fd1 removed gtk_realize on notebook AddPage - realize is only possible on a form
git-svn-id: trunk@6779 -
2005-02-11 15:18:58 +00:00
micha
7fc273c941 let general WindowProc also handle childedit of combobox, reduces code duplication, implements doubleclick for combobox
git-svn-id: trunk@6777 -
2005-02-10 21:07:29 +00:00
vincents
17db4911f7 fixed fpc 1.0.x compilation (added FPCAdds)
git-svn-id: trunk@6774 -
2005-02-09 09:11:42 +00:00
mattias
f1c56646ab fixed gtk notebook page goodies from Yoyong
git-svn-id: trunk@6771 -
2005-02-08 18:51:29 +00:00
mattias
65360cc2ab further completions for gtk2 listbox and listview
git-svn-id: trunk@6770 -
2005-02-08 18:31:56 +00:00
micha
93a367254f send notify message when changing the switching pages
git-svn-id: trunk@6768 -
2005-02-07 20:39:30 +00:00
micha
9f02e3797d map ssautoX scrollbar options
git-svn-id: trunk@6767 -
2005-02-07 19:41:19 +00:00
micha
802d02aec1 revert unwanted commit
git-svn-id: trunk@6766 -
2005-02-07 19:10:31 +00:00
micha
ca5639c617 implement size constraints for calendar (it is not resizeable)
git-svn-id: trunk@6765 -
2005-02-07 18:53:35 +00:00
micha
66e4a148ca force default width and height for calendar control
git-svn-id: trunk@6764 -
2005-02-07 16:19:14 +00:00
micha
0439cd51c7 properly initialize maskbitmap to 0, not always assigned
git-svn-id: trunk@6761 -
2005-02-07 10:21:45 +00:00
micha
1e44759551 improve windows-has-handled-key check
git-svn-id: trunk@6760 -
2005-02-07 09:07:38 +00:00
mattias
63ccf16da0 clean up
git-svn-id: trunk@6755 -
2005-02-05 22:48:51 +00:00
vincents
5664c32aed added TLMInsertText (temporarily?)
git-svn-id: trunk@6754 -
2005-02-05 20:42:04 +00:00
vincents
83209bfba5 SetCapture uses HWND as parameter and result type
git-svn-id: trunk@6753 -
2005-02-05 20:40:17 +00:00
marc
7c3a95c570 * first 64bit changes
git-svn-id: trunk@6752 -
2005-02-05 16:09:52 +00:00
mattias
221f748871 fixed for gtk TScrollBar from Andrew Haines
git-svn-id: trunk@6748 -
2005-02-05 14:53:35 +00:00
mattias
7d8ed4d258 fixed for gtk2 TListView columns width from Andrew Haines
git-svn-id: trunk@6747 -
2005-02-05 14:51:20 +00:00
mattias
16a8535f4f fixed compilation
git-svn-id: trunk@6746 -
2005-02-05 14:46:09 +00:00
mattias
a6b0ee0289 implemented gtkwidgetset.IsWindowEnabled
git-svn-id: trunk@6740 -
2005-02-05 13:33:05 +00:00
mattias
77aa9f5174 implemented TListView for gtk2 From Andrew Haines
git-svn-id: trunk@6739 -
2005-02-05 09:09:52 +00:00
micha
ed63005188 add platform independent winapi function IsWindowEnabled
git-svn-id: trunk@6738 -
2005-02-05 09:05:51 +00:00
mattias
b32ca7cca8 fixed gtk intf Arc
git-svn-id: trunk@6732 -
2005-02-04 01:04:41 +00:00
vincents
c29fc540b8 fixed compilation of gtk2 interface on windows
git-svn-id: trunk@6728 -
2005-02-03 21:10:07 +00:00
micha
d690c4c03e fix bug #267: reroute menu key to main form if form has no menu
git-svn-id: trunk@6727 -
2005-02-03 20:19:17 +00:00
mattias
a6d80046bf improved gtk2 listbox from Andrew Haines
git-svn-id: trunk@6726 -
2005-02-03 16:51:29 +00:00
micha
b89a0ffc98 translate and route WM_SYSCHAR messages, fix WM_SYSKEYDOWN and WM_SYSKEYUP messages
git-svn-id: trunk@6724 -
2005-02-03 15:06:30 +00:00
vincents
e8e13b3fb6 fixed handling WM_MOUSEWHEEL in designer form (bug #647).
git-svn-id: trunk@6722 -
2005-02-01 15:48:03 +00:00
micha
7bebf194eb use 0 icon handle for bsdialog forms
git-svn-id: trunk@6720 -
2005-01-31 17:09:17 +00:00
mattias
6d4be878cd fixed mem leak
git-svn-id: trunk@6711 -
2005-01-28 17:55:48 +00:00
mattias
948a215e46 added QuestionDlg - a MessageDlg with custom buttons
git-svn-id: trunk@6703 -
2005-01-27 19:03:51 +00:00
mattias
8446771602 added error message for gtk intf for TForm.BorderIcons not implemented during designing
git-svn-id: trunk@6694 -
2005-01-26 17:47:55 +00:00
mattias
a7606840be implemented DoubleClick for quick selection in new dialog
git-svn-id: trunk@6679 -
2005-01-24 16:06:42 +00:00
mattias
650a6ec0c5 fixed expandingtabs in synedit painting
git-svn-id: trunk@6668 -
2005-01-23 11:43:38 +00:00
mattias
94f6a1142d fixed gtk2 intf from Peter Vreman
git-svn-id: trunk@6667 -
2005-01-22 23:53:43 +00:00
mattias
9a406a352b added sprite example
git-svn-id: trunk@6666 -
2005-01-22 22:26:16 +00:00
micha
2f743e3584 simpler overlay window
git-svn-id: trunk@6661 -
2005-01-21 22:07:10 +00:00
vincents
ef34c15147 implemented TWin32WSCustomListBox.GetTopIndex and SetTopIndex
git-svn-id: trunk@6645 -
2005-01-20 13:34:07 +00:00
marc
c7d03af771 * oops, fixed line end calculation
git-svn-id: trunk@6631 -
2005-01-18 00:59:49 +00:00
marc
3ddadc078f * Improved line end detection for rawimages
git-svn-id: trunk@6630 -
2005-01-18 00:09:31 +00:00
mattias
7c5349758d fixed constraints for forms under gtk
git-svn-id: trunk@6629 -
2005-01-17 17:49:28 +00:00
mattias
ed02f73289 improved TLabel autosizing
git-svn-id: trunk@6627 -
2005-01-17 16:42:35 +00:00
mattias
a21cbfceca improved gtk intf to calculate TextHeight
git-svn-id: trunk@6625 -
2005-01-17 15:36:31 +00:00
mattias
be9331e1ba added showing all four sides to AnchorEditor
git-svn-id: trunk@6620 -
2005-01-17 11:53:39 +00:00
micha
83cd8b7126 revert patch: use synchronize by default; users now always need to use cthreads otherwise there will be a RTE
git-svn-id: trunk@6613 -
2005-01-16 13:59:02 +00:00
mattias
ab66df423f fixed TGtkWidgetSet.ExtSelectClipRGN for DCOrigin
git-svn-id: trunk@6608 -
2005-01-16 11:40:11 +00:00
micha
5fe3e16df9 scroll caret into view when changing selstart
git-svn-id: trunk@6605 -
2005-01-15 15:49:59 +00:00
micha
acf4a0fbbf fix scrolling: left, top should not be changed while scrolling
git-svn-id: trunk@6604 -
2005-01-15 15:36:19 +00:00
micha
32c65f7004 fix scrolling (win32)
git-svn-id: trunk@6601 -
2005-01-15 13:25:29 +00:00
micha
5e96e40e13 fix bug #558: title bar redraw (win32)
USE_SYNCHRONIZE enabled per default for 1.9.x

git-svn-id: trunk@6597 -
2005-01-15 10:09:23 +00:00
vincents
a53e4ba3fd added elements to LclCursorToWin32CursorMap for new crXXX constants
git-svn-id: trunk@6584 -
2005-01-14 12:16:39 +00:00
mattias
617a25c02d added mouse cursors for 8 uni directions, imlemented for gtk
git-svn-id: trunk@6577 -
2005-01-13 22:07:10 +00:00
mattias
7b35f70489 limited widget sizes to 10000x10000
git-svn-id: trunk@6562 -
2005-01-12 23:18:07 +00:00
micha
f92f516967 fix gtk compilation for tstatictext.layout
git-svn-id: trunk@6550 -
2005-01-11 21:40:29 +00:00
micha
d1ef6f2b88 remove TStaticText.Layout property, not supported by delphi, hard to implement
git-svn-id: trunk@6549 -
2005-01-11 21:36:36 +00:00
mattias
bde1444b74 fixed adding main file in gtk filediaog twice
git-svn-id: trunk@6548 -
2005-01-11 19:01:51 +00:00
vincents
4da758ff04 force handle creation before showing page contents
git-svn-id: trunk@6541 -
2005-01-11 13:51:17 +00:00
vincents
4b70bf97db fixed fpc 1.0.x compilation
git-svn-id: trunk@6537 -
2005-01-10 20:30:10 +00:00
mattias
5916c57809 fixed RemovePage. And I forgot last cvs log entry: TPage.TabVisible from Andrew Haines
git-svn-id: trunk@6528 -
2005-01-09 23:36:29 +00:00
mattias
f8d3853f8c fixed loading no unit at start
git-svn-id: trunk@6527 -
2005-01-09 23:28:18 +00:00
micha
f771e4ab9a fix cursor handling, and statictext alignment
git-svn-id: trunk@6517 -
2005-01-08 22:19:51 +00:00
vincents
0f54bb7238 reverted previous change
git-svn-id: trunk@6515 -
2005-01-08 21:43:31 +00:00
micha
9a6dc5eb4a move taborder and tabstop to twincontrol
git-svn-id: trunk@6509 -
2005-01-08 14:23:56 +00:00
mattias
1ac4c9fdda implemented TPen.Mode=pmXor from Jesus
git-svn-id: trunk@6508 -
2005-01-08 11:03:18 +00:00
micha
b63e712b19 swap TCustomStaticText and TCustomLabel
git-svn-id: trunk@6500 -
2005-01-07 20:51:11 +00:00
micha
28ed2bea16 try allocating seperate strings to solve dialog disappearing issue (seems no effect)
git-svn-id: trunk@6499 -
2005-01-07 20:49:48 +00:00
mattias
8bf0d5935f clean up, added GetRGBValues
git-svn-id: trunk@6497 -
2005-01-07 18:40:10 +00:00
vincents
6815fe14f7 send LM_CHANGE message for trackbar
git-svn-id: trunk@6493 -
2005-01-07 10:51:07 +00:00
vincents
0ce582b720 use BS_AUTO3STATE for checkbox with AllowGray=true
git-svn-id: trunk@6492 -
2005-01-07 08:53:50 +00:00
mattias
0ced54bdb8 implemented TCheckBox.State=cbGrayed for gtk intf without visual representation
git-svn-id: trunk@6489 -
2005-01-07 01:31:44 +00:00
mattias
f85854acac started anchor editor and moved OverWritePromp from lcl to gtk intf
git-svn-id: trunk@6484 -
2005-01-05 14:46:35 +00:00
micha
4db025c0fc can only setfocus if canfocus
git-svn-id: trunk@6480 -
2005-01-04 14:22:21 +00:00
micha
b632390f1e take windowstate into account when showing window
git-svn-id: trunk@6472 -
2005-01-03 16:29:48 +00:00
micha
8a978ff3c6 WM_SIZE can also mean windowstate change, always send message
git-svn-id: trunk@6471 -
2005-01-03 15:50:35 +00:00
micha
97e5873c19 keep the mainform (ie. lazarus main ide bar) active
git-svn-id: trunk@6469 -
2005-01-03 12:15:54 +00:00
micha
51fba3ead7 focus window only if possible
git-svn-id: trunk@6461 -
2005-01-02 22:27:15 +00:00
micha
1eb68ebe5b focus window on left-click
git-svn-id: trunk@6460 -
2005-01-02 22:18:52 +00:00
mattias
3ed44e9dd9 implemented gtk GetTextExtentPoint for UTF8
git-svn-id: trunk@6454 -
2005-01-01 20:17:32 +00:00
mattias
2d0f725a44 implemented TTIProgressBar
git-svn-id: trunk@6451 -
2005-01-01 18:56:47 +00:00
mattias
d7114f089c implemented changing font size and name of TEdit for gtk1
git-svn-id: trunk@6449 -
2005-01-01 16:31:14 +00:00
mattias
c83f9e671a implemented CodeExplorer auto update on switching source editor page
git-svn-id: trunk@6448 -
2005-01-01 16:04:13 +00:00
mattias
e35647ff98 fixed loading TMemo.Lines - During Loading
git-svn-id: trunk@6447 -
2005-01-01 14:38:37 +00:00
micha
6664fdebb4 make stretchmaskblt handle the general case, and let maskblt call stretchmaskblt
git-svn-id: trunk@6445 -
2005-01-01 11:39:02 +00:00
micha
dd11737c04 prevent reporting of spurious mousemove messages
git-svn-id: trunk@6440 -
2004-12-31 16:29:59 +00:00
mattias
d2586ead0f published TEdit.Color - only useful under windows, gtk1 ignores it
git-svn-id: trunk@6439 -
2004-12-31 11:59:47 +00:00
micha
b0aa23957b glue tthread.synchronize to gtk event loop
git-svn-id: trunk@6432 -
2004-12-28 15:28:25 +00:00
mattias
c49518c55c published BorderSpacing for many controls
git-svn-id: trunk@6429 -
2004-12-27 19:40:59 +00:00
micha
c5e34297ad fix transparency while drawing (bug #462)
git-svn-id: trunk@6427 -
2004-12-27 17:42:01 +00:00
micha
70367efb37 set focus to a control on the newly focussed tabpage of a notebook (fixes bug #501)
git-svn-id: trunk@6422 -
2004-12-27 12:08:54 +00:00
micha
69a02addd1 implement support for tthread.synchronize
git-svn-id: trunk@6420 -
2004-12-27 10:18:21 +00:00
mattias
bc7d15ff4b started TFont mirgration to fpCanvas font
git-svn-id: trunk@6406 -
2004-12-22 19:56:44 +00:00
mattias
9a37fb3c97 implemented scrollbar codes for gtk intf from Jesus
git-svn-id: trunk@6404 -
2004-12-21 22:49:29 +00:00
micha
34d6e4286a fix clientrect in tnotebook (fixes #476 and #488)
git-svn-id: trunk@6401 -
2004-12-21 11:46:28 +00:00
mattias
924cd35914 added resurce strings for gtk file dlg
git-svn-id: trunk@6391 -
2004-12-18 23:46:17 +00:00
vincents
56666e6d35 set version to 0.9.3
git-svn-id: trunk@6384 -
2004-12-17 09:00:47 +00:00
mattias
a802f8afa9 applied patch for smooth scrolling parameters from Jesus
git-svn-id: trunk@6379 -
2004-12-16 19:03:57 +00:00
micha
6d3f279a9e fix showmodal to remember disabled windows (fixes bug #478, and more)
git-svn-id: trunk@6378 -
2004-12-16 14:29:51 +00:00
micha
84f362ce52 fix clientrect size on show form with menu (lazarus ide, component palette height too great)
git-svn-id: trunk@6377 -
2004-12-15 17:51:16 +00:00
mattias
5d6c298120 fixed showing all keymappings and missing text selection keys
git-svn-id: trunk@6364 -
2004-12-11 02:21:00 +00:00
mattias
7f5fe81d3b implemented bvSpace of TBevelCut
git-svn-id: trunk@6363 -
2004-12-11 01:28:58 +00:00
vincents
3705892de2 fixed show menu item, when parent menu contains more than one invisible items
git-svn-id: trunk@6361 -
2004-12-10 22:43:49 +00:00
mattias
4049e50ad0 implemented TMenuItem.SetVisible
git-svn-id: trunk@6360 -
2004-12-10 21:36:27 +00:00
mattias
93cb3ed38c implemented auto add on double click on component palette
git-svn-id: trunk@6358 -
2004-12-10 19:22:28 +00:00
vincents
2a4e9585c6 fixed error, when more than one timer was disabled in a timer callback.
git-svn-id: trunk@6319 -
2004-12-01 22:38:36 +00:00
mattias
c8759cbc2e updated fpdoc sceletons for lcl and gtk intf
git-svn-id: trunk@6316 -
2004-12-01 16:17:18 +00:00
mattias
2679c1cd94 added SysKey messages to gtk intf and LCL
git-svn-id: trunk@6312 -
2004-11-29 01:12:36 +00:00
mattias
8ca5eaf021 deactivated sending SYSKey messages in gtk intf - they are not used anyway
git-svn-id: trunk@6309 -
2004-11-28 00:55:44 +00:00
mattias
a56e16653b added more gtk ISO character sets
git-svn-id: trunk@6304 -
2004-11-27 13:57:49 +00:00
vincents
19cc7bac2c implemented SelectionChange event
git-svn-id: trunk@6298 -
2004-11-26 12:26:13 +00:00
vincents
0adc040199 fixed sending two lm_setfocus message for combobox.
git-svn-id: trunk@6297 -
2004-11-26 11:23:38 +00:00
vincents
58e9f70f7c use message name instead of number in debug message.
postponed removing properties until wm_ncdestroy.

git-svn-id: trunk@6279 -
2004-11-21 21:09:29 +00:00
micha
e087248a2d fix borderstyle/borderbuttons
git-svn-id: trunk@6278 -
2004-11-21 18:58:42 +00:00
micha
99768ea834 move CreateHandle implementation of tcustomcontrol to twincontrol
git-svn-id: trunk@6276 -
2004-11-21 18:10:42 +00:00
mattias
020ed4dbc7 implemented stopping project on close project
git-svn-id: trunk@6273 -
2004-11-20 11:49:15 +00:00
mattias
d2d3030a60 implemented creating classes at run time from any TComponent descendant
git-svn-id: trunk@6272 -
2004-11-20 11:20:06 +00:00
micha
d4c88e8afe fix focus issue (for example using MessageDlg)
git-svn-id: trunk@6271 -
2004-11-19 21:59:23 +00:00
vincents
dde42bd1c3 destroy overlay window, when destroying the owner
git-svn-id: trunk@6265 -
2004-11-18 14:58:06 +00:00
vincents
74bc6baac5 centralized dispose windowinfo
removed debug info

git-svn-id: trunk@6264 -
2004-11-17 23:06:29 +00:00
vincents
5191f98af2 fixed memleak with windowinfo of comboedit.
git-svn-id: trunk@6263 -
2004-11-17 22:20:42 +00:00
mattias
fec5cb234b fixed postcript printer TextOut/TextEntend from Olivier
git-svn-id: trunk@6258 -
2004-11-17 07:46:32 +00:00
vincents
1a1f8efec8 fix copy/paste error in key handler.
git-svn-id: trunk@6256 -
2004-11-16 12:21:51 +00:00
vincents
ac91b547ae fix crash when dropping down a owner drawn combobox
git-svn-id: trunk@6250 -
2004-11-15 15:52:48 +00:00
micha
1164454eb6 forms with WS_POPUP style have a parent, GetParent(...)=0 is not reliable, and here redundant
tidy code a bit

git-svn-id: trunk@6244 -
2004-11-15 08:00:05 +00:00
mattias
96951cf407 added memo thaw on set SelStart from Andrew Haines
git-svn-id: trunk@6242 -
2004-11-14 00:21:08 +00:00
vincents
0f1ee72347 fix changing key in OnKeyPress event.
git-svn-id: trunk@6238 -
2004-11-12 15:33:13 +00:00
vincents
94e6f139bd send CM_TEXTCHANGED for TCustomMemo
git-svn-id: trunk@6237 -
2004-11-12 15:30:30 +00:00
vincents
d07f50c9fa initialize ComboBox BuddyWindowInfo to nil, if there is no associated edit window.
git-svn-id: trunk@6236 -
2004-11-12 08:56:23 +00:00
mattias
d4214e5175 impementing changing a TLabel.Font properties Size, Height, Name, Style - set only at Handle creation time
git-svn-id: trunk@6226 -
2004-11-10 18:23:56 +00:00
mattias
d160b3b743 updated memcheck.pas from heaptrc.pp
git-svn-id: trunk@6225 -
2004-11-10 15:25:32 +00:00
vincents
a5aafc2bb1 Implemented TWin32WSCustomComboBox.SetStyle.
git-svn-id: trunk@6223 -
2004-11-08 22:10:45 +00:00
vincents
90c4d52283 Call inherited in TWin32ComboBoxStringList.Insert and Delete.
git-svn-id: trunk@6222 -
2004-11-08 21:35:16 +00:00
mattias
891b8aa58a disabled hardly used gtk FillScreenFont, this should be only done on demand, improved getting default font family for gtk
git-svn-id: trunk@6221 -
2004-11-08 19:11:55 +00:00
vincents
005b18e798 Use 32 bits messages for spinedit.
git-svn-id: trunk@6220 -
2004-11-08 15:46:40 +00:00
vincents
7d9e08f9d5 destroy SpinEdit's buddy when destroying SpinEdit.
git-svn-id: trunk@6219 -
2004-11-08 13:20:11 +00:00
micha
06428cc00e fix message handling (use actual message, not default), fixes edits begin readonly
git-svn-id: trunk@6214 -
2004-11-07 17:58:17 +00:00
mattias
5f8024e0d7 implemented auto sizing: child to parent sizing
git-svn-id: trunk@6206 -
2004-11-05 22:08:53 +00:00
micha
24e8897916 correct silly mistake: "as" operator also checks for nil
git-svn-id: trunk@6204 -
2004-11-05 15:23:23 +00:00
micha
7f9d5da0ad cleanup: remove redundant typecasts and checks
git-svn-id: trunk@6202 -
2004-11-04 17:02:10 +00:00
micha
3239fd1cb9 remove obsolete and unused method twin32widgetset.settext
git-svn-id: trunk@6201 -
2004-11-04 16:57:32 +00:00
micha
76b630a62d remove usage of fcompstyle in twin32liststringlist by using descendent class for combobox specific things
git-svn-id: trunk@6200 -
2004-11-04 15:12:35 +00:00
micha
17ad66bb2a fix remember edit string in combobox after assigning strings to list (fixes find in files dialog search in lazarus)
git-svn-id: trunk@6199 -
2004-11-04 12:05:14 +00:00
micha
13bd84c5fa remove fcompstyle usage by split up of twin32wscustomlistbox setitemindex selectitem setborder
git-svn-id: trunk@6198 -
2004-11-04 11:12:52 +00:00
micha
2c5e67e274 remove usage of fcompstyle by split up of twin32wscustomlistbox.getstrings and twin32wscustomlistbox.getitemindex
git-svn-id: trunk@6197 -
2004-11-04 10:13:54 +00:00
micha
a9e9dc9362 respond to LCL result of handling the message (fixes black background in listbox)
git-svn-id: trunk@6196 -
2004-11-04 09:19:34 +00:00
marc
f463f92baa * forgot one
git-svn-id: trunk@6194 -
2004-11-04 00:55:07 +00:00
marc
ccbcdd833d * Changed typing fixes to casting
git-svn-id: trunk@6193 -
2004-11-04 00:52:23 +00:00
marc
89a2d8792a * Fixed fpc stronger typing
git-svn-id: trunk@6191 -
2004-11-03 22:13:48 +00:00
micha
4abc2f15e5 fix drawing of listbox, combobox, edit to be non-transparent even in winxp tabpage (fixes black background upon scroll)
git-svn-id: trunk@6190 -
2004-11-03 16:32:54 +00:00
mattias
8960dd3810 implemented preferred size for controls for theme depending AutoSizing
git-svn-id: trunk@6189 -
2004-11-03 14:18:36 +00:00
micha
eb7bf28fa9 remove usage of fcompstyle: split up twswincontrol.settext
git-svn-id: trunk@6187 -
2004-11-02 21:08:23 +00:00
micha
4a54d8d57f remove usage of fcompstyle
git-svn-id: trunk@6186 -
2004-11-02 17:48:19 +00:00
micha
d4ce99fba2 remove usage of FCompStyle in GetText using splitup
git-svn-id: trunk@6185 -
2004-11-01 18:48:43 +00:00
micha
f34ec6eeb5 set default icon instead of lcl icon which actually is a bitmap
git-svn-id: trunk@6184 -
2004-11-01 18:20:21 +00:00
micha
cfaa072cd1 speed up menu creation
git-svn-id: trunk@6181 -
2004-10-29 18:55:30 +00:00
micha
67bca8d8e8 make code possible safer, with better typecasts and use of GlobalAddAtom, because windows are global
git-svn-id: trunk@6180 -
2004-10-29 14:24:17 +00:00
micha
30062bb596 fix typo: the atom var is WindowInfoAtom
use WM_NCDESTROY, it is later than WM_DESTROY

git-svn-id: trunk@6179 -
2004-10-29 11:00:32 +00:00
micha
7f3cd4a287 fix typo, use wparam, not lparam
git-svn-id: trunk@6178 -
2004-10-29 10:38:39 +00:00
micha
8be1fd35e2 fix crash on showing tabpage
fix painting of radiobutton in groupbox (non-tabpage-parent)

git-svn-id: trunk@6177 -
2004-10-29 09:52:08 +00:00
vincents
cad1ac59a2 fixed fpc 1.0.x compilation
git-svn-id: trunk@6176 -
2004-10-29 06:57:22 +00:00
micha
cfbcf45a59 convert GetProp and SetProp usage to one Atom pointing to a record of fields
git-svn-id: trunk@6175 -
2004-10-28 21:00:56 +00:00
micha
99a4975f37 remove obsolete message event array
git-svn-id: trunk@6173 -
2004-10-28 14:17:18 +00:00
micha
d5427c9574 experiment: use CS_SAVEBITS class style on tabpages to reduce flickering
git-svn-id: trunk@6169 -
2004-10-28 07:43:29 +00:00
micha
84c8159e94 fix winxp theming for tabcontrols (shaded background)
git-svn-id: trunk@6167 -
2004-10-27 20:58:58 +00:00
vincents
6d113f393b fix fpc 1.0.10 compilation, it can't pick the correct overloaded function.
git-svn-id: trunk@6165 -
2004-10-27 07:47:00 +00:00
micha
42b95dd1c7 fix bordericons initialization
fix setting tab page caption (win32)

git-svn-id: trunk@6162 -
2004-10-25 14:35:14 +00:00
micha
3c81935809 add TCustomForm.BorderIcons (delphi compat)
tweak win32 window dialog flags, to create better dialog look

git-svn-id: trunk@6159 -
2004-10-24 18:54:57 +00:00
micha
eb5698fec0 fix menuitem caption issue (partly by martin smat)
remove ShortCutToText and TextToShortCut wrapper functions

git-svn-id: trunk@6158 -
2004-10-24 14:50:31 +00:00
micha
bda4272d04 optimize: only create tabpage contents when accessed, not immediately upon creation
git-svn-id: trunk@6157 -
2004-10-23 14:49:38 +00:00
micha
a8b23d5e3c remove old code: statusbar methods in twidgetset
git-svn-id: trunk@6156 -
2004-10-23 14:47:44 +00:00
micha
7332cdf831 fix crash in opendialog, do not use pchar pointer to string on stack!
git-svn-id: trunk@6155 -
2004-10-22 19:36:18 +00:00
micha
124f878dd9 fix combobox text selection methods according to msdn specs
git-svn-id: trunk@6152 -
2004-10-18 16:22:24 +00:00
micha
ece83ca9df use font/brush of "parent", if this is a buddy window
git-svn-id: trunk@6151 -
2004-10-17 14:53:48 +00:00
mattias
f032ceaa2b implemented gtkwscomctrls.TGtkWSStatusBar
git-svn-id: trunk@6146 -
2004-10-16 15:36:49 +00:00
micha
2dfb4b3f1a fix recursive loop when creating combobox
git-svn-id: trunk@6145 -
2004-10-16 14:42:45 +00:00
micha
86e77f52a8 remove statusbar helper methods from general widgetset object
git-svn-id: trunk@6144 -
2004-10-16 10:17:21 +00:00
micha
3859bbcc63 cleanup statusbar methods in lcl interfaceobject
fix statusbar recursive call issue

git-svn-id: trunk@6143 -
2004-10-16 10:15:45 +00:00
vincents
5f70eeba05 fixed fpc 1.0 compilation
git-svn-id: trunk@6141 -
2004-10-16 08:59:26 +00:00
mattias
d5177800f0 codeexplorer: using lower recursive depth
git-svn-id: trunk@6139 -
2004-10-15 13:28:22 +00:00
mattias
8f32b28a3f calling updating notebook tab after realize, needed for close btns
git-svn-id: trunk@6138 -
2004-10-15 12:04:09 +00:00
micha
2b55646f6f splitup of CreateComponent to widgetset CreateHandle methods
git-svn-id: trunk@6137 -
2004-10-15 09:51:09 +00:00
vincents
9c50f566e7 From Jesus: Set default window class style to CS_DBLCLKS.
git-svn-id: trunk@6135 -
2004-10-13 20:03:22 +00:00
mattias
6a9d72cbda fixed compiler options interface double variables
git-svn-id: trunk@6133 -
2004-10-12 08:23:20 +00:00
micha
67287e4bfc remove obsolete code
git-svn-id: trunk@6120 -
2004-10-06 12:50:38 +00:00
mazen
5f00dd5198 * fix compile problem in uses clause for GTK2
git-svn-id: trunk@6119 -
2004-10-06 12:32:08 +00:00
micha
64e62a5abe split up common dialogs code
git-svn-id: trunk@6118 -
2004-10-06 10:52:46 +00:00
micha
ced41008d4 fix update edit text for generic edit controls
git-svn-id: trunk@6117 -
2004-10-05 20:14:19 +00:00
mattias
dcbba11dd8 fixed unselecting TCanvas objects
git-svn-id: trunk@6096 -
2004-10-01 13:16:44 +00:00
mattias
eb45bfc091 implemented custom project types
git-svn-id: trunk@6093 -
2004-10-01 11:23:07 +00:00
mazen
964538eebf * Fix compile probelem under GTK2 related to
THandle <--> Pointer conversion

git-svn-id: trunk@6090 -
2004-09-30 10:35:50 +00:00
mattias
9a64dd88d7 fixed TBitmap.Canvas.Frame3d
git-svn-id: trunk@6088 -
2004-09-29 15:18:27 +00:00
mazen
5cc29d9ed6 * Fix GTK2 compilation problem
git-svn-id: trunk@6085 -
2004-09-28 16:41:54 +00:00
vincents
ead8badfb4 unit filectrl splitted in filectrl and fileutil
git-svn-id: trunk@6083 -
2004-09-28 08:19:55 +00:00
micha
b0e1042048 fix popupmenu handle creation
git-svn-id: trunk@6079 -
2004-09-27 17:23:25 +00:00
mattias
abacaa7cbf implemented Rename Identifier
git-svn-id: trunk@6075 -
2004-09-25 15:05:39 +00:00
micha
19fb185df2 fix 1.0.10 compilation (global var init)
git-svn-id: trunk@6074 -
2004-09-25 11:19:56 +00:00
micha
f9d650d137 convert LM_CREATE message to interface methods
remove SendMsgToInterface, CNSendMessage and related methods
remove TWidgetSet.IntSendMessage3; all LCL to interface messages have been converted

git-svn-id: trunk@6073 -
2004-09-24 21:34:14 +00:00
micha
c5832cd817 convert LM_MOVEPAGE message to interface method
git-svn-id: trunk@6071 -
2004-09-24 19:02:38 +00:00
micha
46c5e54090 convert LM_NB_UPDATETAB message to interface method
git-svn-id: trunk@6070 -
2004-09-24 18:00:52 +00:00
micha
8033722b1f convert LM_SETGEOMETRY message to interface method
git-svn-id: trunk@6068 -
2004-09-24 17:20:43 +00:00
micha
21199fcd5d convert LM_LB_GETTOPINDEX and LM_LB_SETTOPINDEX message to interface methods
git-svn-id: trunk@6067 -
2004-09-24 15:31:02 +00:00
micha
e48907bdf1 convert LM_SETDESIGNING message to TWidgetSet method
git-svn-id: trunk@6065 -
2004-09-24 14:50:58 +00:00
micha
71d0f3dd98 convert LM_SETPROPERTIES message to interface method for TCustomTrackBar
remove message LM_SETPROPERTIES, conversion done

git-svn-id: trunk@6059 -
2004-09-24 07:52:36 +00:00
micha
add872a567 convert LM_SETPROPERTIES message to interface method for TCustomSpinEdit
git-svn-id: trunk@6058 -
2004-09-23 21:16:46 +00:00
micha
924f6583c7 convert LM_SETPROPERTIES message to interface method for TScrollBar
git-svn-id: trunk@6056 -
2004-09-23 20:36:30 +00:00
micha
fe50379736 convert LM_SETPROPERTIES message to interface method for TProgressBar
git-svn-id: trunk@6053 -
2004-09-23 14:50:47 +00:00
vincents
7c078384c9 fix fpc 1.0.x. compilation
git-svn-id: trunk@6052 -
2004-09-23 12:59:37 +00:00
vincents
67212be365 fix fpc 1.0.x. compilation
git-svn-id: trunk@6050 -
2004-09-23 07:54:16 +00:00
mattias
08d727e283 various fixes for TCustomMemo, RTTIControls, FindReferences
git-svn-id: trunk@6046 -
2004-09-22 19:05:58 +00:00
micha
9bb1cdbb19 convert LM_SETPROPERTIES message to interface methods for TCustomListView
git-svn-id: trunk@6045 -
2004-09-22 18:06:32 +00:00
micha
dcf9c0e76f convert LM_SETPROPERTIES message to interface methods for TCustomMemo
git-svn-id: trunk@6044 -
2004-09-22 16:13:01 +00:00
micha
74f59c2028 convert LM_SETPROPERTIES message for tcustomlabel to interface methods
git-svn-id: trunk@6043 -
2004-09-22 14:50:18 +00:00
micha
d19d4f2e0b convert LM_SETPROPERTIES to interface methods for TCustomEdit
git-svn-id: trunk@6039 -
2004-09-21 13:28:10 +00:00
mattias
4a997f7523 fixed disable at designtime and bounding TProgressBar position
git-svn-id: trunk@6038 -
2004-09-21 10:05:26 +00:00
micha
611ad4d52f convert LM_SETPROPERTIES to interface methods for TCustomComboBox
git-svn-id: trunk@6036 -
2004-09-20 21:01:04 +00:00
micha
76c2c59c99 undo removal of LM_SETDESIGNING; used by lazarus ide (main.pp)
git-svn-id: trunk@6034 -
2004-09-19 19:39:10 +00:00
micha
a0d9094edb remove LM_SETDESIGNING message, as it is not used by LCL
git-svn-id: trunk@6033 -
2004-09-19 19:22:54 +00:00
micha
b1a4a3dab4 convert LM_SETVALUE message to interface methods
git-svn-id: trunk@6032 -
2004-09-19 18:50:28 +00:00
micha
b3d193b5f0 fix registration checkbox win32
git-svn-id: trunk@6031 -
2004-09-18 20:18:29 +00:00
micha
d885bc022d fix compilation calendar win32
git-svn-id: trunk@6030 -
2004-09-18 18:29:59 +00:00
micha
559f264877 convert LM_GETVALUE message to interface method
git-svn-id: trunk@6029 -
2004-09-18 17:07:58 +00:00
micha
07ce1184e8 convert LM_DESTROY message to interface methods
git-svn-id: trunk@6028 -
2004-09-18 12:43:15 +00:00
micha
6ec01de193 remove LM_RECREATEWND message, as it is not used by LCL
git-svn-id: trunk@6026 -
2004-09-18 11:06:47 +00:00
micha
f0eb9c47ac convert LM_SCREENINIT message to interface method (integrated with TWidgetSet.AppInit(var ScreenInfo)
git-svn-id: trunk@6025 -
2004-09-18 10:52:48 +00:00
mattias
5b73c01f75 removed unneeded handle
git-svn-id: trunk@6023 -
2004-09-18 01:18:00 +00:00
vincents
c1c08bbb99 replaced write by DbgOut
git-svn-id: trunk@6021 -
2004-09-17 20:30:13 +00:00
micha
4c7a853aca convert LM_SHORTCUT message to interface methods
git-svn-id: trunk@6018 -
2004-09-17 10:56:26 +00:00
micha
4b81f2e84a convert LM_SETBORDER message to interface method
fix widgetsets virtual methods to be published
fix compilation debugging widgetset registration

git-svn-id: trunk@6017 -
2004-09-17 07:55:13 +00:00
micha
8320028fd9 register gtk customlistbox
git-svn-id: trunk@6015 -
2004-09-16 14:49:11 +00:00
micha
2a2c0c9db6 convert LM_SETSELMODE message to interface method
git-svn-id: trunk@6014 -
2004-09-16 14:32:31 +00:00
micha
312a4ab45c convert LM_SETSEL message to interface method
git-svn-id: trunk@6013 -
2004-09-16 13:57:30 +00:00
micha
2f36a0ca3c convert LM_SORT message to interface method
git-svn-id: trunk@6012 -
2004-09-16 13:30:48 +00:00
micha
dea133d633 convert LM_GETSEL message to interface method
git-svn-id: trunk@6010 -
2004-09-15 19:38:56 +00:00
micha
dd214aee5a convert LM_GETSELCOUNT message to interface method
git-svn-id: trunk@6009 -
2004-09-15 19:04:39 +00:00
micha
14e1418e0a remove LM_GETLINECOUNT message as it is not used by the LCL
git-svn-id: trunk@6008 -
2004-09-15 18:50:34 +00:00
micha
0420d2ead2 convert LM_GETITEMINDEX and LM_SETITEMINDEX messages to interface methods
git-svn-id: trunk@6007 -
2004-09-15 17:21:22 +00:00
micha
489c23ece2 convert LM_GETITEMS message to interface method
git-svn-id: trunk@6005 -
2004-09-15 14:45:39 +00:00
mazen
6f629054b9 * fix input / output with GTK2 in TEDIT
git-svn-id: trunk@6004 -
2004-09-15 14:00:16 +00:00
micha
1a1fa9f508 convert LM_SETFORMICON message to interface method
git-svn-id: trunk@6002 -
2004-09-15 07:58:00 +00:00
vincents
89fe6ac437 replaced writeln by DebugLn
git-svn-id: trunk@6001 -
2004-09-14 21:30:37 +00:00
micha
11ede552a9 convert LM_INVALIDATE message to interface method
git-svn-id: trunk@5999 -
2004-09-14 15:48:28 +00:00
micha
3a6375ea0f convert LM_INSERTTOOLBUTTON and LM_DELETETOOLBUTTON messages to interface methods; warning: still very ugly code, as if it is "OldToolbar" so probably, obsolete
git-svn-id: trunk@5998 -
2004-09-14 14:41:17 +00:00