Chris,

thank you very much - all is clear now.
russ

From: Chris Burke <[EMAIL PROTECTED]>
Reply-To: Programming forum <[email protected]>
To: Programming forum <[email protected]>
Subject: Re: [Jprogramming] tabbed grids
Date: Mon, 15 Jan 2007 06:28:19 +0800

russ packer wrote:
> I would like to implement two editable grids, each on one tab of a tab
> control. So far I can get the two grids to display but they do not
> respond to the mouse ie can't scroll them and they can't be editted.
>
> I have three scripts:
> - Two 'grid' scripts which are based on example 1 of grid_class.htm.
> Each loads into separate locale (loc1 and loc2)

For an example of grids in a tabbed dialog, see example 3 on page
http://www.jsoftware.com/jwiki/Grid/Class .

Note that the grid parent id (gridpid) is the id of the tab form, not
the main form.

Also, creating separate locales for each grid is a major complication.
Events are signalled in the main form locale, while the grid handlers
get defined in the tab locales. You would have to to ensure the grid
handlers are called correctly. It is much easier to define all forms in
one locale, and use different names to distinguish the grids.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

_________________________________________________________________
MSN Hotmail is evolving – check out the new Windows Live Mail http://ideas.live.com

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to