473,698 Members | 2,747 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 1144

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

Similar topics

6
2845
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
2651
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
1276
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
1322
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
1791
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
13863
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
3317
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
5289
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
2564
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
2337
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
8683
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8611
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9170
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8876
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7741
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
6531
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
5867
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
4624
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.