473,408 Members | 2,888 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,408 software developers and data experts.

Database Navigation Button(s) Class

I'm developing a dbms app, and would like to reduce the
code for the nav buttons to a class. I've developed a
form class for the forms to be used (cFormTemplate), but
haven't decided where to place the code for the nav
buttons...

1. Within the cFormTemplate class.
2. Create a seperate cButton class.
3. Create a seperate class for -each- button.

Any thoughts appreciated.

Thx,

Les
Nov 15 '05 #1
2 1608
Hi Les,

I would pick option # 2 because you can instantiate buttons of a
specific type and function. You can probably inherit from the
System.Windows.Forms.Button class (or the web versions) and then have
complete control over the behavior of buttons in your cButton class.

~~~~~~~~~~~~~
Tommie Carter
--
"Les Cardwell" <an*******@discussions.microsoft.com> wrote in message news:<00****************************@phx.gbl>...
I'm developing a dbms app, and would like to reduce the
code for the nav buttons to a class. I've developed a
form class for the forms to be used (cFormTemplate), but
haven't decided where to place the code for the nav
buttons...

1. Within the cFormTemplate class.
2. Create a seperate cButton class.
3. Create a seperate class for -each- button.

Any thoughts appreciated.

Thx,

Les

Nov 15 '05 #2
Thanks Tom. It's what I suspected, but I'm still trying
to get my head around this stuff. Old dogs can learn new
tricks, their just slow <g>

Les

-----Original Message-----
Hi Les,

I would pick option # 2 because you can instantiate buttons of aspecific type and function. You can probably inherit from theSystem.Windows.Forms.Button class (or the web versions) and then havecomplete control over the behavior of buttons in your cButton class.
~~~~~~~~~~~~~
Tommie Carter
--
"Les Cardwell" <an*******@discussions.microsoft.com>

wrote in message news:<005601c3cef5$2d347db0
$a*******@phx.gbl>...
I'm developing a dbms app, and would like to reduce the code for the nav buttons to a class. I've developed a
form class for the forms to be used (cFormTemplate), but haven't decided where to place the code for the nav
buttons...

1. Within the cFormTemplate class.
2. Create a seperate cButton class.
3. Create a seperate class for -each- button.

Any thoughts appreciated.

Thx,

Les

.

Nov 15 '05 #3

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

Similar topics

6
by: ubccis | last post by:
Hi. I'm wondering if you can dynamically query a database with javascript and php. For example, can I select something on the select menu and dynamically query the database and populate another...
4
by: Dan V. | last post by:
I am looking for a great css button navigation tool that can allow me to: - Ideally use Macromedia DreamWeaver 2004 mx. - Use CSS buttons that allows the button to stay depressed when I am on a...
13
by: chri_schiller | last post by:
My webpage with a free textbook has a simple html navigation. Moving the cursor on the menu item makes appear the menu item red, using onmouseover. If I click that menu item, I get to the new...
0
by: Veli-Pekka Tätilä | last post by:
Hi, My first post here. I've found some serious accessibility flaws in the Python 2.4 docs and wish they could be rectified over time. I'm very new to Python and initially contacted docs at python...
2
by: Captain BirdsEye | last post by:
Hi, I've created html websites before and used javascript menus. I'm now currently creating an aspx website. Is there a way to write a simple navigation. e.g. mouseover a link and get a list...
28
by: laredotornado | last post by:
Hi, Surprisingly, I can't get the drop down menus to work on PC IE 6. If you roll over "PRODUCTS", normally a drop down menu appears (on Safari and Firefox), but on PC IE, nada. ...
4
by: Jamey Shuemaker | last post by:
Howdy, Saw a couple threads from the past few years on this topic, but didn't really find any solutions. Here's one I found:...
3
by: John | last post by:
Hi there, I was reading an article (http://avenuea-razorfish.com/articles/TheAll-MenuNavigation_Turbek.pdf) on 'all-menu navigation' and I'd like to try and implement this in my site. Can...
4
by: Doug Laidlaw | last post by:
Thank you everybody for your help to date, and please be tolerant of a CSS beginner! I have successfully converted my site at http://www.douglaidlaw.net/boykett/ to use a free 3-column template...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.