[Lazarus] Improve watches dialog [was: Re: Improve message dialog]

Zaher Dirkey parmaja at gmail.com
Fri May 18 12:53:25 CEST 2012

Hi, Martin

Thanks, I have tested it, in fact I prefer gird style more than a tree, for
simple, light and less flicker, if I want to more info I can call Inspect
for it.
But I like to have another feature, "Stay on top" for debug watches dialog
and Inspect Debug, because I can inspect more than variable and need to
watch it changing step by step.

Thanks a lot

On Sat, May 12, 2012 at 7:26 PM, Martin <lazarus at mfriebe.de> wrote:

> On 09/05/2012 15:32, Graeme Geldenhuys wrote:
>> On 9 May 2012 15:35, Martin<lazarus at mfriebe.de>  wrote:
>>> So the questions are (if the grid is fixed):
>>> 1) what is the preferred display:
>>> - treeview
>>> - grid
>> I would still go for the treeview as it could nicely display the
>> hierarchy of properties (if supported).
> After some discussion about the patch in http://bugs.freepascal.org/**
> view.php?id=21990 <http://bugs.freepascal.org/view.php?id=21990> the main
> question to remain was: treeview or grid
> The main reason for treeview (as far as I am aware) was/is, that
> additional future feature may be easier to be implemented.
> But they are not implemented yet. If someone is indeed picking up work on
> such features, then we can look at bringing the treeview back in (until the
> grid can do it too).
> For now I have done the following. (r 37259)
> - For none structured long values (strings) currently a memo with
> word-wrap is better(better than treeview or grid)
>  Allows displaying long text.
>  Allows copy, copy selection
> - Same for memory dumps, until we have a nice viewer for mem dumps
> - For structured values:
>  The plan is still the grid, including extending the grid for sub-nodes
>  Until the grid (or rather the persistent storage system) has at least
> auto-size columns, the memo is used too, but without word wrap.
>  The data is cleaned up (methods on a single line)
> I added the splitter to the persistent storage (not supported by docking)
> so it's width will be remembered.
> I added a tool-button to toggle the entire inspect pane
> - the button state is not yet persistent
> - the icon is actually the icon for the stand alone inspector window. It
> would be nice to free it up, so we can have a button to sent a watch to the
> stand alone inspector win. But I am no gfx expert. If someone has an idea...

Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120518/1a4b64b4/attachment-0003.html>

More information about the Lazarus mailing list