Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clarion > Re: I need a co...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 9069 of 9097
Post > Topic >>

Re: I need a conditional delete

by pblais@[EMAIL PROTECTED] Mar 30, 2008 at 08:01 AM

If you make the cascade delete option restrict the child delete it
gets tested if they try to do it. This seems to me to be a better way
to avoid the performance hit. Controlling the delete button as others
have noted seems more friendly based on a hot field. Disable on the
button will deal with the popup browse menu too. A use just scrolling
does not need to know if there is a cascade delete issue. If extended
to the limit you would not be able look at the record if it couldn't
be deleted.

The flicker problem I have solved by just wring my own hide and
disable commands that check to see if the desired state is the current
state. If you want to play with buttons as you scroll it helps to do
as Paul Noted. I have an app with about 10 of these I manage and the
flicker is a killer if you don't manage the state of the buttons. If
you use hide instead of disable you also need to disable too if it is
in a browse popup menu. You can't hide popup menu items once they are
added but disable works. Popup menus are directly tied to the buttons
they mimic.

On 29 Mar 2008 10:58:59 -0500, Kent Baldwin <kentbald@[EMAIL PROTECTED]
>
wrote:

>I test for child files before allowing delete.
---------------------------------------
 Paul Blais -  Hayes, Virginia




 1 Posts in Topic:
Re: I need a conditional delete
pblais@[EMAIL PROTECTED]   2008-03-30 08:01:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 2:27:40 CDT 2008.