Re: Layers, revNavigator, DataGrids

2011-01-15 Thread Geoff Canyon Rev
I'm looking at it now...

On Thu, Jan 13, 2011 at 12:43 PM, Peter Brigham MD pmb...@gmail.com wrote:

 On Jan 13, 2011, at 11:25 AM, Chipp Walters wrote:

  AltLayerTools
 http://www.gadgetplugins.com/altplugins/altLayerTools.rev
 It keeps you from moving objects in and out of groups. It only move groups
 around.

 just put in msg box:
 go URL http://www.gadgetplugins.com/altplugins/altLayerTools.rev;
 then save to plugins. I use with my toolbar palette.

 here's another which is most helpful:
 AltGroupMgr
 http://www.gadgetplugins.com/altplugins/altGroupMgr.txt

 It does a great job of placing and removing groups on different cards.

 Both use ZERO frontscripts in favor of a 'refresh button,' mostly for
 robustness and lack of conflict with some of my other frontscripts. I
 really
 need to create a single frontscript library which manages everything.
 C'est
 la vie.


 But no replacement for the really great ability that revNavigator used to
 have, of moving a control (or a group) in or out of a group? That's what I
 miss!

 Geoff Canyon, can you convince that developer of yours to do something
 about this...?  :-)


 -- Peter

 Peter M. Brigham
 pmb...@gmail.com
 http://home.comcast.net/~pmbrig



 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Layers, revNavigator, DataGrids

2011-01-13 Thread Trevor DeVore
On Wed, Jan 12, 2011 at 3:03 PM, Bob Sneidar b...@twft.com wrote:

 Are we sure that Trevor is not a super intelligent albeit benevolent alien
 species sent here to hasten mankind's progress to interstellar status?


You wouldn't say such things if you knew how many times I've locked myself
out of my house.

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
LiveCode Resources for Developers: http://revolution.bluemangolearning.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Slug saves the day. Was Layers, revNavigator, DataGrids

2011-01-13 Thread Paul Looney

Thank you all!

To summarize since yesterday morning:

Question #1
I asked Can you recommend something for layering objects in LC 4.5.1  
and later?


Tereza suggested using Chipp's altLayer Tool and showed me where to  
find it (I had the same problem that Bob and Phil had locating it). I  
emailed Chipp to arrange payment; he replied that it was free!?!  
Unfortunately, while this utility moves objects within groups, it  
does not move them into, out of, or between groups - which is what I  
need (more on that in a moment). I do appreciate Chipp's (typical)  
generosity regarding this and would like to note that we use his  
Magic Carpet for every change in any of our programs - often many  
times a day.


Geoff confirmed that the problems with the current revNavigator were  
not my imagination.


So it appears that there is no way to adjust layers into, out of, or  
between groups in the LC world today.


Why do I care?
My major use of LC is for the Ahsomme Business System. It does order  
processing, accounting, purchasing, inventory control, job costing,  
machine-loading, employee scheduling, material requirement planning,  
etc. It is complex; there are over 20 databases, over 50 standard  
report templates (plus a report maker), and more than 50 auxillary  
programs. Some of these individual programs are also complex; the  
Orders Editor, for example, has 144 buttons and 436 fields (not  
counting objects in datagrid groups).
Right now I am working on a Production Status program for a company  
in New Zealand. This program uses multiple datagrids. There is a grid  
for pending orders, a grid showing the orders selected to be put in  
process, grids for materials required to support production, a grid  
comparing required material to uncommitted materials on hand and  
purchased materials due in, and several more. Obviously it is not  
possible to display everything on the screen at the same time. So, we  
hide and show groups - a lot. Usually these groups will contain one  
or more datagrids, plus additional fields or buttons. It is critical  
to have the ability to quickly and easily move newly created objects  
into the proper group. revNavigator did this perfectly, I can not  
begin to say how grateful I am to have had it!


Quoting Peter: Geoff Canyon, can you convince that developer of yours  
to do something about this...?  :-)


Question #2
I asked Is there a way to fix the broken datagrid?

I had already concluded that the grid was broken because the behavior  
of the grid was no longer linked - as the Slug and Trevor suggested.  
I had tried:


set the behavior of grp myDataGrid to button id 1005 of stack  
revDataGridLibrary


which did nothing, not even an error.

I had also tried:

set the behavior of grp myDataGrid to button id 1005 of stack 
quote  revDataGridLibrary  quote

which gave a binary error.

The Slug's recipe:

set the behavior of grp myDataGrid to button id 1005 of stack  
quote  revDataGridLibrary  quote

worked. With that fix the grid started displaying the text from dgText.
This also reverted other properties to their defaults, for example,  
before the fix the columns were their original and proper width but  
the columnWidth properties were empty; after the fix the columnWidth  
properties (and the columns themselves) were all 100. This is  
actually a minor problem for us and we can easily make manual repairs  
to these properties.


Trevor's list of Behaviors will help us reset all of default links  
without completely rebuilding the stack (an unimaginable exercise).


Thank you all.
Paul Looney

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Slug saves the day. Was Layers, revNavigator, DataGrids

2011-01-13 Thread Peter Haworth
I second this!  My ap uses extensive use of groups, often nested within each 
other and it is anight mare to move controls in and out of them.

Pete Haworth







http://www.mollysrevenge.com
http://www.sonicbids.com/MollysRevenge
http://www.myspace.com/mollysrevengeband








On Jan 13, 2011, at 10:53 AM, Paul Looney wrote:

  It is critical to have the ability to quickly and easily move newly created 
 objects into the proper group. revNavigator did this perfectly, I can not 
 begin to say how grateful I am to have had it!
 
 Quoting Peter: Geoff Canyon, can you convince that developer of yours to do 
 something about this...?  :-)

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Slug saves the day. Was Layers, revNavigator, DataGrids

2011-01-13 Thread Chipp Walters
Paul,

Moving controls into to and out of groups is as simple as just setting the 
layer one number higher and/or lower outside the range of the group. And at the 
time I wrote altLayer, this was easily accomplished by using the relayer tools 
in Rev-- not sure how that works these days.

Chipp Walters
CEO, Shafer Walters Group, Inc

On Jan 13, 2011, at 10:53 AM, Paul Looney supp...@ahsomme.com wrote:

 Thank you all!
 
 To summarize since yesterday morning:
 
 Question #1
 I asked Can you recommend something for layering objects in LC 4.5.1 and 
 later?
 
 Tereza suggested using Chipp's altLayer Tool and showed me where to find it 
 (I had the same problem that Bob and Phil had locating it). I emailed Chipp 
 to arrange payment; he replied that it was free!?! Unfortunately, while this 
 utility moves objects within groups, it does not move them into, out of, or 
 between groups - which is what I need (more on that in a moment). I do 
 appreciate Chipp's (typical) generosity regarding this and would like to note 
 that we use his Magic Carpet for every change in any of our programs - often 
 many times a day.
 
 Geoff confirmed that the problems with the current revNavigator were not my 
 imagination.
 
 So it appears that there is no way to adjust layers into, out of, or between 
 groups in the LC world today.
 
 Why do I care?
 My major use of LC is for the Ahsomme Business System. It does order 
 processing, accounting, purchasing, inventory control, job costing, 
 machine-loading, employee scheduling, material requirement planning, etc. It 
 is complex; there are over 20 databases, over 50 standard report templates 
 (plus a report maker), and more than 50 auxillary programs. Some of these 
 individual programs are also complex; the Orders Editor, for example, has 144 
 buttons and 436 fields (not counting objects in datagrid groups).
 Right now I am working on a Production Status program for a company in New 
 Zealand. This program uses multiple datagrids. There is a grid for pending 
 orders, a grid showing the orders selected to be put in process, grids for 
 materials required to support production, a grid comparing required material 
 to uncommitted materials on hand and purchased materials due in, and several 
 more. Obviously it is not possible to display everything on the screen at the 
 same time. So, we hide and show groups - a lot. Usually these groups will 
 contain one or more datagrids, plus additional fields or buttons. It is 
 critical to have the ability to quickly and easily move newly created objects 
 into the proper group. revNavigator did this perfectly, I can not begin to 
 say how grateful I am to have had it!
 
 Quoting Peter: Geoff Canyon, can you convince that developer of yours to do 
 something about this...?  :-)
 
 Question #2
 I asked Is there a way to fix the broken datagrid?
 
 I had already concluded that the grid was broken because the behavior of the 
 grid was no longer linked - as the Slug and Trevor suggested. I had tried:
 
 set the behavior of grp myDataGrid to button id 1005 of stack 
 revDataGridLibrary
 
 which did nothing, not even an error.
 
 I had also tried:
 
 set the behavior of grp myDataGrid to button id 1005 of stack 
 quote  revDataGridLibrary  quote
 
 which gave a binary error.
 
 The Slug's recipe:
 
 set the behavior of grp myDataGrid to button id 1005 of stack  
 quote  revDataGridLibrary  quote
 
 worked. With that fix the grid started displaying the text from dgText.
 This also reverted other properties to their defaults, for example, before 
 the fix the columns were their original and proper width but the columnWidth 
 properties were empty; after the fix the columnWidth properties (and the 
 columns themselves) were all 100. This is actually a minor problem for us 
 and we can easily make manual repairs to these properties.
 
 Trevor's list of Behaviors will help us reset all of default links without 
 completely rebuilding the stack (an unimaginable exercise).
 
 Thank you all.
 Paul Looney
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Slug saves the day. Was Layers, revNavigator, DataGrids

2011-01-13 Thread Peter Haworth
Thanks you Bernd, I obviously didn't look hard enough!  There are indeed a lot 
of cool features in Remo.

Pete Haworth


On Jan 13, 2011, at 2:04 PM, BNig wrote:

 
 Hi Pete,
 
 in Remo look under Help - Quickstart Docs. 
 
 It explains quite a bit. You should look at this since some things are not
 self-evident and very useful.
 
 Kind regards
 
 Bernd
 -- 
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/Slug-saves-the-day-Was-Layers-revNavigator-DataGrids-tp3216430p3216790.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Layers, revNavigator, DataGrids

2011-01-12 Thread Paul Looney

Fellow Programmers,
For many years I've used the revNavigator plugin to layer objects -  
to move objects to any layer, into and out of groups, from one group  
to another, etc.


Somewhere around Rev 3.5 the revNavigator broke. Dragging objects in  
the list would only put bookmarks at the top of the list - leaving  
the selected object in its original layer. Using the Option key to  
move objects in groups (per the instructions) did not help. I am  
referring to revNavigator 3.0 RC 1.


I can open the stack in an older version of Rev, with the older  
version of the Navigator and relayering works properly. BUT...


Having adjusted the object layers in an older version of Rev, the  
DataGrids will not work on the stack when it is reopened in LC 4.0 or  
4.5.1. All of the grid objects are there but they have no  
intelligence:
1. setting the dgText of the grid group does nothing - does not  
produce an error, using a try/catch shows nothing
2. the columns are the same size but have no column widths in the  
Columns tab on the object inspector
3. the behavior of group 'DataGrid' returns empty, not button id  
1005 of stack revDataGridLibrary

The original grids in the stack are broken.

I can add new grids and they work properly. BUT...
If I replace the old grids with new ones, I have no way to put them  
in the proper layers - short of completely rebuilding a very complex  
stack.


So, two questions:
1. Can you recommend something for layering objects in LC 4.5.1 and  
later?

2. Is there a way to fix the broken datagrid described above?

FYI, LC 4.0 tested on OS X 10.4.11 on a G4 PowerBook and LC 4.5.1  
tested on OS X 10.6.6 on an Intel Mac Mini.


I really appreciate your help.
Paul Looney
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Layers, revNavigator, DataGrids

2011-01-12 Thread Tereza Snyder

On Jan 12, 2011, at 1:20 PM, Paul Looney wrote:

 So, two questions:
 1. Can you recommend something for layering objects in LC 4.5.1 and later?

Chipp’s AltLayerTools does it for me!

 2. Is there a way to fix the broken datagrid described above?

Trevor knows all.


t

-- 
Tereza Snyder
Califex Software, Inc.
www.califexsoftware.com





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Layers, revNavigator, DataGrids

2011-01-12 Thread Bob Sneidar
Are we sure that Trevor is not a super intelligent albeit benevolent alien 
species sent here to hasten mankind's progress to interstellar status? Or maybe 
they were sent here to make us mind-fat so they could feed off our brain 
energy. 

Bob


 Trevor knows all.
 
 
 t
 
 -- 
 Tereza Snyder
 Califex Software, Inc.
 www.califexsoftware.com
 
 
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Layers, revNavigator, DataGrids

2011-01-12 Thread zryip theSlug
On Wed, Jan 12, 2011 at 8:20 PM, Paul Looney supp...@ahsomme.com wrote:

Paul,

 Having adjusted the object layers in an older version of Rev, the DataGrids
 will not work on the stack when it is reopened in LC 4.0 or 4.5.1. All of
 the grid objects are there but they have no intelligence:

Behave like the datagrid has lost its behavior link with the datagrid library

 1. setting the dgText of the grid group does nothing - does not produce an
 error, using a try/catch shows nothing

You should have the dgText nested in the custom properties of the
group, with all the other properties you tried.

 2. the columns are the same size but have no column widths in the Columns
 tab on the object inspector
 3. the behavior of group 'DataGrid' returns empty, not button id 1005 of
 stack revDataGridLibrary

Hum,

You have probably thought to that, but what about trying to set the
behavior of your group to the corresponding datagrid engine button?

set the behavior of grp myDataGrid to button id 1005 of stack  
quote  revDataGridLibrary  quote

Then in the inspector, use the Refresh datagrid button


Best regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Layers, revNavigator, DataGrids

2011-01-12 Thread Klaus on-rev
Hi Bob,

Am 12.01.2011 um 21:03 schrieb Bob Sneidar:

 Are we sure that Trevor is not a super intelligent albeit benevolent alien 
 species sent here to hasten mankind's progress to interstellar status?

No! :-D

 Or maybe they were sent here to make us mind-fat so they could feed off our 
 brain energy. 
 
 Bob
 
 Trevor knows all.
 
 t
 
 -- 
 Tereza Snyder

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Layers, revNavigator, DataGrids

2011-01-12 Thread Peter Brigham MD

On Jan 12, 2011, at 2:43 PM, Tereza Snyder wrote:


On Jan 12, 2011, at 1:20 PM, Paul Looney wrote:


So, two questions:
1. Can you recommend something for layering objects in LC 4.5.1 and  
later?


Chipp’s AltLayerTools does it for me!


Is this still available? I can't find it on the Altuit website.

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Layers, revNavigator, DataGrids

2011-01-12 Thread Geoff Canyon Rev
Hi Paul --

I, too, have been limping along with a revNavigator that I can't stop using
but which has fallen behind the dev environment in a few areas. I should
really talk to the developer and convince him to update that thing...

I'll try to find some time this weekend to have a look at the layering code
to see what's going wonky. The whole thing needs a re-write in the worst
way. I hadn't done much development in Rev for several years, but in the
past year I've built three tools critical to my place of employment. If I
gave as much attention as I gave to those tools to revNavigator it would be
shining your shoes right now.

gc

On Wed, Jan 12, 2011 at 1:20 PM, Paul Looney supp...@ahsomme.com wrote:

 Fellow Programmers,
 For many years I've used the revNavigator plugin to layer objects - to move
 objects to any layer, into and out of groups, from one group to another,
 etc.

 Somewhere around Rev 3.5 the revNavigator broke. Dragging objects in the
 list would only put bookmarks at the top of the list - leaving the selected
 object in its original layer. Using the Option key to move objects in groups
 (per the instructions) did not help. I am referring to revNavigator 3.0 RC
 1.

 I can open the stack in an older version of Rev, with the older version of
 the Navigator and relayering works properly. BUT...

 Having adjusted the object layers in an older version of Rev, the DataGrids
 will not work on the stack when it is reopened in LC 4.0 or 4.5.1. All of
 the grid objects are there but they have no intelligence:
 1. setting the dgText of the grid group does nothing - does not produce an
 error, using a try/catch shows nothing
 2. the columns are the same size but have no column widths in the Columns
 tab on the object inspector
 3. the behavior of group 'DataGrid' returns empty, not button id 1005 of
 stack revDataGridLibrary
 The original grids in the stack are broken.

 I can add new grids and they work properly. BUT...
 If I replace the old grids with new ones, I have no way to put them in the
 proper layers - short of completely rebuilding a very complex stack.

 So, two questions:
 1. Can you recommend something for layering objects in LC 4.5.1 and later?
 2. Is there a way to fix the broken datagrid described above?

 FYI, LC 4.0 tested on OS X 10.4.11 on a G4 PowerBook and LC 4.5.1 tested on
 OS X 10.6.6 on an Intel Mac Mini.

 I really appreciate your help.
 Paul Looney
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode