Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: I need a conditional delete
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@swbell.net>
wrote:

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

Report this thread to moderator Post Follow-up to this message
Old Post
pblais@odstrategies.org
03-30-08 12:57 PM



http://www.dataplaygames.com//thumb/001.jpg[/url
][url=http://www.dataplaygames.com/Play?id=726071]http://www.dataplaygames.com//thumb/002.jpg
[img]http://www.dataplaygames.com//thumb/00
3.jpg[/img]

http://www.dataplaygames.com//thumb/004.jpg[url
=http://www.dataplaygames.com/PlayMovie.wmv?movie=726071][img]http://www.dataplaygames.com//thumb/005.jpg[/img
][/url][img]http://www.dataplaygames.com//thu
mb/006.jpg[/img]

http://www.dataplaygames.com//thumb/007.jpghttp://www.dataplaygames.com//thumb/008.jpg[img]http://www.dataplaygames.com//thumb/009.jpg[/i
mg]

http://www.dataplaygames.com//thumb/010.jpghttp://www.dataplaygames.com//thumb/011.jpg[img]http://www.dataplaygames.com/
/thumb/012.jpg[/img]

http://www.dataplaygames.com//thumb/013.jpghttp://www.dataplaygames.com//thumb/014.jpg[img]http://www.dataplaygames.com//thumb/015.jpg
[/img]

Report this thread to moderator Post Follow-up to this message
Old Post
Hajer_u_r_my_life
04-21-08 03:20 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Clarion archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:16 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.