[Openroad-users] removing child/cell from stackfield

David Tondreau David.Tondreau at ingres.com
Fri Aug 17 01:54:34 EST 2007


Set the field's ParentField attribute to NULL.


Regards, 

David 

David Tondreau
Architect, Ingres Corp.
http://community.ingres.com/



-----Original Message-----
From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Bjorn
Stevenson
Sent: Thursday, August 16, 2007 5:12 AM
To: openroad-users at peerlessit.com
Subject: Re: [Openroad-users] removing child/cell from stackfield

Remember that if its the last element to be removed the StackField will 
expand to a default empty StackField size (at least in 3.5 and 4.1). If
this 
may happen in your example, you could include an empty subform of zero 
height and width with outlines turned off inside the stackfield; best to
add 
this at run-time as selecting it in the IDE could be a pain; of course
doing 
this may affect your margins if the StackField's child margins are in
use, 
in which case add/remove the dummy SubForm when removing last row/adding

first.

Regards,
Bjorn Stevenson

>From: Brian Risley <brisleyor at earthlink.net>
>Reply-To: International OpenROAD Users <openroad-users at peerlessit.com>
>To: International OpenROAD Users <openroad-users at peerlessit.com>
>Subject: Re: [Openroad-users] removing child/cell from stackfield
>Date: Wed, 15 Aug 2007 23:45:11 -0400
>
>set the parentfield null.
>This will detach the field.  If you are getting rid of it, you may need
to 
>set it or other attributes null too.
>Brian
>
>
>jade clements wrote:
>
>>Hi All,
>>
>>Does anyone know how to remove a child from a stackfield.  There is a 
>>method
>>to 'InsertChild' yet no method to remove a child.  I have tried the
>><stackfield>.childFields.RemoveRow method - this method removes the
row 
>>from
>>the 'array of childfield' and the object in the cell of the stackfield
on
>>the frame yet the stackfield does not collapse.
>>
>>
>>
>>Has anyone got a solution or a work-around?
>>
>>
>>
>>Running on OR5.0.
>>
>>
>>
>>Regards
>>
>>Jade Clements
>>
>>
>>
>>
>>
>>
>>
>>MyWorkplace Solutions Pty Limited
>>
>>Level 5, 11 Queens Road
>>
>>Melbourne Victoria 3004
>>
>>
>>
>>
>>
>>Ph:  1300 733 731
>>
>>Making Service our Priority
>>
>>
>>
>>www.MyWorkplace.com.au
>>
>>
>>
>>If you receive this email by mistake, please notify us and do not make
any
>>use of the email. We do not waive any privilege, confidentiality or
>>copyright associated with it.
>>
>>
>>
>>
>>
>>
>>
>>
>>----------------------------------------------------------------------
--
>>
>>________________________________________________________________
>>OpenROAD-Users mailing list
>>
>>You can maintain your subscription here:
>>http://www.peerlessit.com/mailman/listinfo/openroad-users
>>
>>To unsubscribe click on this link
>>mailto:openroad-users-unsubscribe at peerlessit.com&subject=unsubscribe
>>
>>To subscribe click on this link
>>mailto:openroad-users-subscribe at peerlessit.com&subject=subscribe
>>


>________________________________________________________________
>OpenROAD-Users mailing list
>
>You can maintain your subscription here:
>http://www.peerlessit.com/mailman/listinfo/openroad-users
>
>To unsubscribe click on this link
>mailto:openroad-users-unsubscribe at peerlessit.com&subject=unsubscribe
>
>To subscribe click on this link
>mailto:openroad-users-subscribe at peerlessit.com&subject=subscribe

_________________________________________________________________
Got a favourite clothes shop, bar or restaurant? Share your local
knowledge  
http://www.backofmyhand.com

________________________________________________________________
OpenROAD-Users mailing list

You can maintain your subscription here:
http://www.peerlessit.com/mailman/listinfo/openroad-users

To unsubscribe click on this link
mailto:openroad-users-unsubscribe at peerlessit.com&subject=unsubscribe

To subscribe click on this link
mailto:openroad-users-subscribe at peerlessit.com&subject=subscribe 



More information about the Openroad-users mailing list