473,394 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to "disable" add and delete button on toolbar

I have a simple application, that I use the built in navigation bar. I
set the add and delete buttons enabled property to false, and it looks
good, until.. Once I click on the arrow to navigate to a different
record these two buttons re-enable. I have the save button enable set
to false and it seems to stay. Just these two buttons (add and delete)
re-enable themselves.

If anyone could shed some light on this i would really appreciate the help.

Thanks
troy
Jul 8 '07 #1
1 2009
On Sun, 08 Jul 2007 10:16:28 -0700, Troy Bull <tr*******@gmail.comwrote:
I have a simple application, that I use the built in navigation bar. I
set the add and delete buttons enabled property to false, and it looks
good, until.. Once I click on the arrow to navigate to a different
record these two buttons re-enable. I have the save button enable set
to false and it seems to stay. Just these two buttons (add and delete)
re-enable themselves.
Well, you didn't post any code. So it's impossible for anyone to say.
However, controls don't just enable themselves. So it seems that your
code that enables the buttons is being called when you don't expect it
to. Set a breakpoint there and find out why.

If you do decide to post some code, so that someone can provide a more
useful response, be sure to post only a concise-but-complete example of
code that reliably reproduces the problem. Usually in creating such a
minimal reproducible case, you will discover what it is you did to cause
the bug, but even if not it means that code you post will actually be read
by someone and could even be compiled if they wanted to.

Pete
Jul 8 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Flare | last post by:
In meen. primary keys, NOT NULL, IDENTETIES...et.c I have to do a maunally, one time, building of a database. Sometables has to stay an some are to be exchanged. The foreignkey inforcemnt ill do...
4
by: Els | last post by:
Hi, I would like an opinion on the following: I have a page which is made up of background-images with transparent linked images in front of it, which on hover show text in CSS popups. Due to...
2
by: ZubZero | last post by:
Hello, i have to write a utility in c++ for windows 2k/XP. But i have 2 difficult problems. I asked many programmers i know, but none of them was able to tell me how i can do this. 1. I...
5
by: http://links.i6networks.com | last post by:
I want to force the users to click submit to submit the forms. How do I disable "Enter Key" which will submit the form automatically when they entered the data in text field then pressed "enter key"
3
by: Stan Huff | last post by:
Is there any way to disable the "params" on a particular invocation so that one can pass an array containing the arguments and not have receiver get an array having you argument array stuffed into...
0
by: Alessandro | last post by:
There is a way to "disable" or remove button to go to next month ? I want, for example, that a user can move from 01/01/2003 to 31/12/2003 but not in 2004..... Any idea ?
8
by: Ken Yu | last post by:
Hi, How can i disable "RightClick Menu" in Internet Explorer, when access the frontpage ? tks a lot ! Ken
3
by: Michelle Anderson | last post by:
Hi, I have this code so it will ask user if they want to save if they click on the "close" button. But some how it also pops up the message when I click on the save button. Is there a way to...
4
by: marcnz | last post by:
Hi, I am working for a company which as a MS SQL backend and Access as front end. We update automatically each access db on the user local machine when a new feature has become available. We...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.