Re: [Lazarus] TControl.IsParentShowHint

2011-10-25 Thread zeljko
On Wednesday 26 of October 2011 03:35:31 Hans-Peter Diettrich wrote: > This method looks as if it could be removed. A property ParentShowHint > exists already, which does exactly the same. This method is added because code from application.inc must access parentshowhint from TControl, but it's pr

Re: [Lazarus] TControl.IsParentShowHint

2011-10-25 Thread Paul Ishenin
26.10.2011 9:35, Hans-Peter Diettrich пишет: This method looks as if it could be removed. A property ParentShowHint exists already, which does exactly the same. You are right. It should be removed. Best regards, Paul Ishenin. -- ___ Lazarus mailin

[Lazarus] TControl.IsParentShowHint

2011-10-25 Thread Hans-Peter Diettrich
This method looks as if it could be removed. A property ParentShowHint exists already, which does exactly the same. DoDi -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Problem with access rights in Windows Mobile?

2011-10-25 Thread Arí Ricardo Ody
I wrote an application in Lazarus 0.9.30 with SQLite 3(I used only TSQLite3Dataset). Everything's fine 'till this morning. The application is written to run under WinCE arm devices. I wrote a method to archive the SQLite 3 database via TZipper. I reviewed the code logic dozen of times and it s

[Lazarus] Datetime column in TDBGrid (again)

2011-10-25 Thread Arí Ricardo Ody
I'm using a TDBGrid with a TSQLite3Dataset and there is a datetime column. The rightmost one. Nothing is showed in this column and the other columns of the TDBGrid have content. Is there a way to show SQLite 3 datetime values in TDBGrid columns? Greetings from São Paulo - Brasil Ricardo --

[Lazarus] Datetime column in TDBGrid

2011-10-25 Thread Arí Ricardo Ody
I'm using a TDBGrid with a TSQLite3Dataset and there is a datetime column. The rightost one. Nothing is howed in this column and the other columns of the TDBGrid have content. Is there a way of show datetime values in TDBGrid column? Greetings from São Paulo - Brasil Ricardo --

Re: [Lazarus] How can I reorder buttons into a TPanel with ChildSizing.Layout?

2011-10-25 Thread Mattias Gaertner
On Tue, 25 Oct 2011 17:43:17 -0200 Alexsander Rosa wrote: > Is there a way? Close the form, open the lfm, change the order there, close the lfm, open the form. The reordering in the object inspector does not work yet. At least not well. Mattias -- __

Re: [Lazarus] How can I reorder buttons into a TPanel with ChildSizing.Layout?

2011-10-25 Thread cobines
2011/10/25 Alexsander Rosa : > Is there a way? Change the Z-order of the buttons in the panel by right clicking on them in the Object Inspector and use Z-order submenu. Back is earlier, Forward is later. But the order of the buttons on the form will not refresh until you reopen the form, so if you

[Lazarus] How can I reorder buttons into a TPanel with ChildSizing.Layout?

2011-10-25 Thread Alexsander Rosa
Is there a way? -- Atenciosamente, Alexsander da Rosa http://rednaxel.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Treeview Node Image disappears on selected node.

2011-10-25 Thread michael . vancanneyt
On Tue, 25 Oct 2011, Graeme Geldenhuys wrote: On 25 October 2011 16:44, cobines wrote: The TreeNode has ImageIndex and SelectedIndex. First image is displayed when node is not selected, second is displayed when image is selected. If you want the image to be always displayed set both indexes

Re: [Lazarus] Treeview Node Image disappears on selected node.

2011-10-25 Thread Graeme Geldenhuys
On 25 October 2011 16:44, cobines wrote: > > The TreeNode has ImageIndex and SelectedIndex. First image is > displayed when node is not selected, second is displayed when image is > selected. If you want the image to be always displayed set both > indexes to the same value. Ah thanks for the expl

Re: [Lazarus] Treeview Node Image disappears on selected node.

2011-10-25 Thread Graeme Geldenhuys
On 25 October 2011 16:35, zeljko wrote: > > Yes, that's why I'm using state images all the time , don't know is this bug > or not, In that case, it clearly seems like a bug. Because with this behaviour (and your suggestion), I can't share TTreeview code between LCL and VCL, which uses both image l

Re: [Lazarus] Treeview Node Image disappears on selected node.

2011-10-25 Thread cobines
2011/10/25 Graeme Geldenhuys : > See the attached image. The selected node's normal image (not the > state image) is not painted for the selected node. I'm using the > latest Lazarus 0.9.30.x compiled with FPC 2.5.1 using GTK2 widgetset. The TreeNode has ImageIndex and SelectedIndex. First image i

Re: [Lazarus] TTreeview fires lots and lots of events

2011-10-25 Thread Graeme Geldenhuys
On 25 October 2011 16:33, zeljko wrote: >> treeview_form_gets_focus.png > >> Here the form containing the treeview simply got focus. Note all the > >> events that fired - as shown in the debug server. > > As mentioned below, OnGetImageIndex is probably triggered from paint method, > it triggers per

Re: [Lazarus] Treeview Node Image disappears on selected node.

2011-10-25 Thread zeljko
On Tuesday 25 of October 2011 16:28:53 Graeme Geldenhuys wrote: > Hi, > > Is this another LCL bug or not? > > See the attached image. The selected node's normal image (not the > state image) is not painted for the selected node. I'm using the > latest Lazarus 0.9.30.x compiled with FPC 2.5.1 usin

Re: [Lazarus] TTreeview fires lots and lots of events

2011-10-25 Thread Mattias Gaertner
On Tue, 25 Oct 2011 16:23:36 +0200 Graeme Geldenhuys wrote: > Hi, > > The TTreeview seems to fire a lot of events which doesn't seem right. > Attached are two images showing what I did. > > treeview_form_gets_focus.png >Here the form containing the treeview simply got focus. Note all the ev

Re: [Lazarus] TTreeview fires lots and lots of events

2011-10-25 Thread zeljko
On Tuesday 25 of October 2011 16:23:36 Graeme Geldenhuys wrote: > Hi, > > The TTreeview seems to fire a lot of events which doesn't seem right. > Attached are two images showing what I did. > > treeview_form_gets_focus.png >Here the form containing the treeview simply got focus. Note all the

[Lazarus] Treeview Node Image disappears on selected node.

2011-10-25 Thread Graeme Geldenhuys
Hi, Is this another LCL bug or not? See the attached image. The selected node's normal image (not the state image) is not painted for the selected node. I'm using the latest Lazarus 0.9.30.x compiled with FPC 2.5.1 using GTK2 widgetset. In the attached image, the selected node (Test Suite 1 -> T

[Lazarus] TTreeview fires lots and lots of events

2011-10-25 Thread Graeme Geldenhuys
Hi, The TTreeview seems to fire a lot of events which doesn't seem right. Attached are two images showing what I did. treeview_form_gets_focus.png Here the form containing the treeview simply got focus. Note all the events that fired - as shown in the debug server. treeview_select_node_cha