On outside call for List Boxes

View: New views
8 Messages — Rating Filter:   Alert me  

On outside call for List Boxes

by Bill Weale :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just started implementing list box objects for production use. Is  
there a "technical" good reason that the on outside call event is not  
available for these?

Bill


William W. Weale, III

Business Owners Support, LLC.

Operations Analysis
MIS Advising
Decision Support Systems

**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: On outside call for List Boxes

by Rudy Mortier, Two Way Communications bvba :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bill,

You have to use the "on outside call" event in the form method.

Hope this helps,


Rudy Mortier
Two Way Communications bvba  -----------------

On 11-nov-09, at 17:44, Bill Weale wrote:

> I just started implementing list box objects for production use. Is  
> there a "technical" good reason that the on outside call event is  
> not available for these?
>
> Bill
>
>
> William W. Weale, III
>
> Business Owners Support, LLC.
>
> Operations Analysis
> MIS Advising
> Decision Support Systems
>
> **********************************************************************
> Get the speed and power of 4D v11 SQL
> before upgrade prices increase - http://www.4d.com
>
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4D.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> **********************************************************************

**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: On outside call for List Boxes

by Bill Weale :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm trying to keep my code in "logical" places. Interprocess drag and  
drop seems to be a natural use for lb objects. What's the logic behind  
having the ooc event available for subforms but not for list boxes?

8-)

Bill


On Nov 11, 2009, at 11:46 AM, Rudy Mortier, Two Way Communications  
bvba wrote:

> Bill,
>
> You have to use the "on outside call" event in the form method.
>
> Hope this helps,
>
>
> Rudy Mortier
> Two Way Communications bvba  -----------------
>
> On 11-nov-09, at 17:44, Bill Weale wrote:
>
>> I just started implementing list box objects for production use. Is  
>> there a "technical" good reason that the on outside call event is  
>> not available for these?
>>

**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: On outside call for List Boxes

by Chip Scheide :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

if your dragging and drop try - on drop event

On Wed, 11 Nov 2009 15:46:28 -0500, Bill Weale wrote:

> I'm trying to keep my code in "logical" places. Interprocess drag and
> drop seems to be a natural use for lb objects. What's the logic
> behind having the ooc event available for subforms but not for list
> boxes?
>
> 8-)
>
> Bill
>
>
> On Nov 11, 2009, at 11:46 AM, Rudy Mortier, Two Way Communications
> bvba wrote:
>
>> Bill,
>>
>> You have to use the "on outside call" event in the form method.
>>
>> Hope this helps,
>>
>>
>> Rudy Mortier
>> Two Way Communications bvba  -----------------
>>
>> On 11-nov-09, at 17:44, Bill Weale wrote:
>>
>>> I just started implementing list box objects for production use. Is
>>> there a "technical" good reason that the on outside call event is
>>> not available for these?
>>>
>
> **********************************************************************
> Get the speed and power of 4D v11 SQL
> before upgrade prices increase - http://www.4d.com
>  
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4D.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> **********************************************************************
>
**********************************************************************
Get up to $600 to spend on Amazon.com
this holiday season - http://www.4d.com/serverpromo.html
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: On outside call for List Boxes

by Bill Weale :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm doing that as a matter of course.

But the interface allows the user to move or to copy--the copy  
happening if the alt/option key is pressed while dragging. If it's  
just a move, I need the destination object to call back to the source  
so its record can be deleted. I'd rather not delete until the  
destination drop has successfully occurred.

--www


On Nov 11, 2009, at 4:06 PM, Chip Scheide wrote:

> if your dragging and drop try - on drop event
>
> On Wed, 11 Nov 2009 15:46:28 -0500, Bill Weale wrote:
>> I'm trying to keep my code in "logical" places. Interprocess drag and
>> drop seems to be a natural use for lb objects. What's the logic
>> behind having the ooc event available for subforms but not for list
>> boxes?
>>
>> 8-)
>>
>> Bill
>

**********************************************************************
Get up to $600 to spend on Amazon.com
this holiday season - http://www.4d.com/serverpromo.html
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: On outside call for List Boxes

by Chip Scheide :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I havent visited my drag n drop code for some time, but as I recall I
HAD to reach back to the originating  object (arrays in this case) to
get the needed info to correctly manage the drop - and (again as I
recall) no reference to outside calls.

BUT then again I wasnt updating anything from the source process

 On Wed, 11 Nov 2009 16:26:38 -0500, Bill Weale wrote:
> I'm doing that as a matter of course.
>
> But the interface allows the user to move or to copy--the copy
> happening if the alt/option key is pressed while dragging. If it's
> just a move, I need the destination object to call back to the source
> so its record can be deleted. I'd rather not delete until the
> destination drop has successfully occurred.
**********************************************************************
Get up to $600 to spend on Amazon.com
this holiday season - http://www.4d.com/serverpromo.html
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: On outside call for List Boxes

by Broderick, Sean - Direct Brands :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bill Weale:

It sounds like you are putting code into object methods...

You have the alternative of handling the On Outside Call in the *form
method*. This may conflict with your concept of logical organization, but I
believe it is flexible enough to permit the action validation you desire.

Sincerely,
Sean Broderick


On 11/11/09 4:26 PM, "Bill Weale" <Bill.Weale@...> wrote:

> I'm doing that as a matter of course.
>
> But the interface allows the user to move or to copy--the copy
> happening if the alt/option key is pressed while dragging. If it's
> just a move, I need the destination object to call back to the source
> so its record can be deleted. I'd rather not delete until the
> destination drop has successfully occurred.
>
> --www
>
>
> On Nov 11, 2009, at 4:06 PM, Chip Scheide wrote:
>
>> if your dragging and drop try - on drop event
>>
>> On Wed, 11 Nov 2009 15:46:28 -0500, Bill Weale wrote:
>>> I'm trying to keep my code in "logical" places. Interprocess drag and
>>> drop seems to be a natural use for lb objects. What's the logic
>>> behind having the ooc event available for subforms but not for list
>>> boxes?
>>>
>>> 8-)
>>>
>>> Bill


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
**********************************************************************
Get up to $600 to spend on Amazon.com
this holiday season - http://www.4d.com/serverpromo.html


4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: On outside call for List Boxes

by Bill Weale :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Sean--

I'm aware that I can monitor for the event in the list box' form  
method. I can also poll an ip or process variable from LB method.

I was just making the point that exposing the LB method to the ooc  
event seems so much to be an oversight that I wondered if there were a  
technical reason preventing it.

On Nov 12, 2009, at 12:59 PM, Broderick, Sean - Direct Brands wrote:

> Bill Weale:
>
> It sounds like you are putting code into object methods...

That's correct here.

1. List boxes have their own unique set of form events

2. I need to communicate between 2 instances of the same object, each  
instance in its own process. This is really convenient because I can  
handle the whole operation from the beginning of the drag through  
validating and processing the drop in one method, even though its  
parts execute in different processes.

>
> You have the alternative of handling the On Outside Call in the *form
> method*. This may conflict with your concept of logical  
> organization, but I
> believe it is flexible enough to permit the action validation you  
> desire.

I agree; it's flexible enough, but not logical enough.

8-)

Bill




**********************************************************************
Get up to $600 to spend on Amazon.com
this holiday season - http://www.4d.com/serverpromo.html
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************