473,574 Members | 3,190 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CheckList box question....

Hi,
I have a checklist box with a list of machines that the user can select one
or more of.

What I want to be able to do, is when the user selects a machine, and list
of parts (related to the machine) is loaded into a second checklist box.

Each time the user selects a new machine, its parts are loaded into the
second list box. (all existing part are removed from the list box, when the
user selectes a new machine)

What I want to somehow do, is remember the parts there where selected for
the machine, so that should the user return to a machine they have already
selected parts for, then I can show them there current selected parts for
that machine.

Is there an easy way to do this?

Thanks

May 17 '07 #1
1 1794
On 17 mayo, 13:11, "Aussie Rules" <nos...@nospam. comwrote:
Hi,
I have a checklist box with a list of machines that the user can select one
or more of.

What I want to be able to do, is when the user selects a machine, and list
of parts (related to the machine) is loaded into a second checklist box.

Each time the user selects a new machine, its parts are loaded into the
second list box. (all existing part are removed from the list box, when the
user selectes a new machine)

What I want to somehow do, is remember the parts there where selected for
the machine, so that should the user return to a machine they have already
selected parts for, then I can show them there current selected parts for
that machine.

Is there an easy way to do this?

Thanks
Hi there,

Also you can use a TreeView Control with Checkboxes property set to
True. This code could help you: (In this case, clb is a TreeView
Control)

Dim i, j As Integer
Dim noD As TreeNode
For i = 1 To numComputers
noD = clb.Nodes.Add(a rrayComputers(i ))
For j = 1 To numComputersPar ts
noD.Nodes.Add(a rrayComputersPa rts(j))
Next
Next

After this you can realize what properties were checked for all the
Computers.

May 17 '07 #2

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

Similar topics

0
1453
by: nidhi | last post by:
hi folks, Can anyone provide a simple example on how to use a Tix checklist, actually i'm not able to make some entries' state disabled. Description : When someone clicks on the parent folder and make its status "off", then its child entries shld be disabled automatically, ie they shld be visible but the usr shld not be able to select those....
0
478
by: Frank | last post by:
What is your daily, weekly, monthly checklist for a SQL Server 2000 DB in a cluster environment?
2
2069
by: sumGirl | last post by:
Hi all. I know that since you know nothing about my database it will be a stretch to answer this - but does anyone have a boiler plate checklist for moving a database, dts packages, agent jobs, etc...from one server to another? Maybe something that just says I should at least do x,y,z. Also if anyone out there has any hard won...
1
2300
by: Dave Mendez | last post by:
Is there anybody out there with a MS SQL 2K Security Baseline or Security Checklist. Where can I get one???? Thanks in advance David
1
2447
by: news.17417 | last post by:
Dear DB2 gurus, I have currently being trying to find any organized documentation/checklist/guidelines pertaining on securing DB2 in either Unix or Windows environments. After reading all of the redbooks and IBM formal documentation, I am unfortunately nowehere close to where I am capable of performing a simple audit of the existing databse....
2
5860
by: shihabca | last post by:
How to validate Checklist Box ,for being left blank using javascript at client side
2
1364
by: roni | last post by:
hi. i have a checklist that is his items are created dynamcily. the question is, how can i write "<br"> after the 4 item for example. and in general,how can i write html code between each item. hope im clear.
2
1903
by: Xero | last post by:
There is a checklist component in my form, where there are serveral items for the user to check. How can I detect which items have been checked and return their names using a Button click instance? Thanks. -- Xero http://www.chezjeff.net
2
4451
by: Incolor | last post by:
Hello All! I have to generate a checklist form as an input form in Access. A paper form is taken out in the field and checked yes, no, OR n/a for each item inspected. The problem I am having is this, the form should have a main heading with the date, report no, and inspector. This information should be entered only once in the form, but...
0
7726
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8052
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8234
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7815
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8098
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6452
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5300
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3740
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2243
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.