Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 9 of 9 total
Thread Open table on DblClick in EDBManager
Tue, Jan 19 2010 1:16 PMPermanent Link

Uli Becker
Tim,

we spoke about that before - I'd like to change the default behaviour of
EDB-manager in order to open a table by double-clicking the treeview-item.

It seems that it needs a deep look into the source code to find the
place where a table is opened. SmileyCan you give me a hint?

Uli
Tue, Jan 19 2010 2:32 PMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Uli


As Tim knows that would be my preferred behaviour.

Roy Lambert
Tue, Jan 19 2010 2:43 PMPermanent Link

Uli Becker
Roy,

> As Tim knows that would be my preferred behaviour.

I know. Smile

Uli
Tue, Jan 19 2010 2:46 PMPermanent Link

"Terry Swiers"

>> As Tim knows that would be my preferred behaviour.
>
> I know. Smile

We ALL know.  Wink


--

---------------------------------------
 Terry Swiers
 Millennium Software, Inc.
 http://www.1000years.com
 http://www.atrex.com

 Atrex Inventory Control/POS -
    Big business features without spending big business bucks!

Atrex Electronic Support Options:
 Atrex Knowledgebase: http://www.atrex.com/atrexkb.asp
 Email: mailto:support@atrex.com
 Newsgroup: news://news.1000years.com/millennium.atrex
 Fax: 1-925-829-1851
 Phone: 1-925-828-5892 (M-F, 9a-5p Pacific)
 ---------------------------------------

Wed, Jan 20 2010 8:36 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< we spoke about that before - I'd like to change the default behaviour of
EDB-manager in order to open a table by double-clicking the treeview-item.

It seems that it needs a deep look into the source code to find the place
where a table is opened. SmileyCan you give me a hint? >>

main.pas

Override this method for the TBaseTableObject class:

        function GetOpenOnExpand: Boolean;

and inside of the new overriden method, set the Result to True.  That will
cause any table or view objects to open whenever the treeview node for them
is expanded (double-clicked).

--
Tim Young
Elevate Software
www.elevatesoft.com

Thu, Jan 21 2010 7:19 AMPermanent Link

Tiago Ameller
Tim,

<Override this method for the TBaseTableObject class: ... >

I'll go to do it now! IMHO I think you would put this feature in the edbmgr options or make it permanent, due its popularity.

BTW What about closing all windows in edbmgr with Ctrl+F4, not just the code ones?

Thanks.
Thu, Jan 21 2010 1:07 PMPermanent Link

Uli Becker
Tim,

> Override this method for the TBaseTableObject class:
>
>          function GetOpenOnExpand: Boolean;
>
> and inside of the new overriden method, set the Result to True.  That will
> cause any table or view objects to open whenever the treeview node for them
> is expanded (double-clicked).

Thanks, that works - except that the pageindex of the pagecontrol
doesn't change accordingly.

Maybe you can offer this function as an option in the next build? I know
some people who would appreciate that very much. Smiley

Uli
Thu, Jan 21 2010 5:44 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< Thanks, that works - except that the pageindex of the pagecontrol doesn't
change accordingly. >>

Hmmm, it should.  It changes the ActivePage property of the main page
control and sets the active control to the table grid.

<<  Maybe you can offer this function as an option in the next build? I know
some people who would appreciate that
very much. Smiley >>

I'll see what I can do.

--
Tim Young
Elevate Software
www.elevatesoft.com

Thu, Jan 21 2010 5:47 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Tiago,

<< BTW What about closing all windows in edbmgr with Ctrl+F4, not just the
code ones? >>

It's on the list, but I'll see what I can do for the next build.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image