473,748 Members | 5,429 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Setting Checkboxes of Treeviews at Mask-Opening

Hallo,

i'm working on an mask with a treeview. This Tree has to show the
status of a node in its Checkboxes. This status will be saved in a
table. I need to have the status' from the table back in the checkboxes
again on the next opening of the mask. That doesn't work.
But when i run the function after the opening of the mask (on
Button-click) it works fine.

Has somebody an idea?

Hallo Leute,

ich arbeite gerade an einer Maske mit einem Treeview. Dieser Baum soll
mittels der integrierten Checkboxen den Status eines Knotens anzeigen.
Dieser Status wird dann in einer Tabelle gespeichert. Nun möchte ich
aber das beim nächsten Öffnen der Maske diese Stati aus der Tabelle
direkt wieder in den Checkboxen angezeigt wird. Leider scheint das in
keiner der Ereignisse zu funktionieren, die beim Starten der Maske
auftreten. Wenn ich aber dieses Einlesen der Stati und das Zuweisen zu
den Checkboxen der Knoten mittels eines Buttons auf der Maske
anstosse, funktioniert das einwandfrei. Kennt vielleicht jemand einen
Trick, wie ich das schon vorm Anzeigen der Maske hinbekommen könnte?

Nov 13 '05 #1
0 1148

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

Similar topics

6
2847
by: terence.parker | last post by:
I currently have the following JS in my header: function checkall(thestate) { var checkboxes=eval("document.forms.EssayList.file_id") for (i=0;i<checkboxes.length;i++) checkboxes.checked=thestate } This works fine - but the problem is that it doesn't work with my
1
2653
by: Danko Greiner | last post by:
Thanx Willy, this was very helpful. But i also need (and want to know) how to do this from code. Can you plase give me right topic in MSDN? is there good example? Thanx p.s. this is copy/paste from previous thread, don't ask why... "Grei" <danko.greinerREMOVE@zg.htnet.hr> wrote in message news:d1vihg$m3b$1@ss405.t-com.hr...
2
1278
by: Mervin Williams | last post by:
I am trying to set the text property of one of my labels in a data grid to the value of a text box in the same datagrid. Please help! Mervin Williams
1
1323
by: tshad | last post by:
I am trying to find the best way to set up RadioButtons, CheckBoxes, and textboxes on the fly. What I am doing is putting on a page questions and answers that the user has defined in his file. The answers can be RadioButtons, CheckBoxes or a TextBox. It can only one type. For example, you could have up to 5 Radio buttons or up to 5 CheckBoxes or 1 TextBox. But you can't mix an match. What I did at the moment is create all the...
3
1793
by: Woody Splawn | last post by:
I have been experimenting with Auto Slides and TreeViews and find them most usefull in Winforms. I know how to create a Treview and have it, for example, slide out from the left of my Winform but I would like to add some functionality to my slideout. I would like my TreeView to have a field above it, like you get when you click on the contents tab in the of the Visual Studio Deisgner. In the contents slideout you have a field at the...
2
13874
by: JT Lovell | last post by:
I have a solution with 5 projects and I need them to build in a particular order. I understand that setting the project dependencies will allow this, but when I go to the Project Dependencies dialog, the "Depends on" checkboxes are grayed out. Is there something else required in order to enable these? Thanks, -- JT Lovell
1
3318
by: Mark | last post by:
Hello, I am using the new TreeView in ASP.Net 2.0. I am using its PopulateOnDemand feature. The problem is that the treeviews +/- images, and any checkboxes, have the tooltip set. If the node contains HTML, then the tooltip shows the raw HTML, which is unacceptable to users. Is there any way to block the tooltips from displaying this HTML?
3
5290
by: 4600cc | last post by:
Hi. This might sound dumb, but I need some guidence. I need to know how to set bits to 1 and to 0, on and off. Thus far I can set a single bit to 1 by using LSH and bitwise OR operators, but can't figure out how to set a single bit to 0. Please give me some ideas on how to turn on and off bits. Thank you.
4
2567
by: Nikos Hatzigiannakis | last post by:
The following code does not display the number 10 in hex format. The hex flag doesn't seem to work. Any ideas? Compiler is DEV C++ 4.9.9.2 http://www.bloodshed.net/
0
2343
by: Andy | last post by:
Hello all, I have a user getting an error 438, object doesn't support this prop. or method, when I run code to setup the treeview control. I'm using the MSCOMCTRL.OCX, file version: 6.01.9545. In my installer, I'm setting it to always overwrite, btw. Here's my code, maybe I'm doing something that is not compatible with a new version of MSCOMCTRL? If I test with the user's db, all is well on my machine.
0
9366
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9316
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8239
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6793
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6073
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4597
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4867
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3303
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
2
2777
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.