checkedListBox1 .ClearSelected( ),dosn't clear my selections in my
checkedboxlist.
How can I clear an specific item based on its value ,name or anything else?
thanks for your response. 4 3595
"Reza" <re**@microsoft .com> schrieb: checkedListBox1 .ClearSelected( ),dosn't clear my selections in my checkedboxlist. How can I clear an specific item based on its value ,name or anything else?
You can use the checkedlistbox' s 'FindString' or 'FindStringExac t methods to
get the index of a specific item, then you can use 'SetSelected(In dex,
False)' to uncheck the item.
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Thanks,but it dosn't uncheck the item ,,it only removes the focus,that's it.
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. "Reza" <re**@microsoft .com> schrieb: checkedListBox1 .ClearSelected( ),dosn't clear my selections in my checkedboxlist. How can I clear an specific item based on its value ,name or anything else?
You can use the checkedlistbox' s 'FindString' or 'FindStringExac t methods
to get the index of a specific item, then you can use 'SetSelected(In dex, False)' to uncheck the item.
-- Herfried K. Wagner [MVP] <URL:http://dotnet.mvps.org/>
"Reza" <re**@microsoft .com> schrieb: Thanks,but it dosn't uncheck the item ,,it only removes the focus,that's it.
Use 'SetItemChecked ' instead of 'SetSelected'.
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
how can I uncheck an item based on its memeber value?
"Reza" <re**@microsoft .com> wrote in message
news:%2******** **********@TK2M SFTNGP11.phx.gb l... checkedListBox1 .ClearSelected( ),dosn't clear my selections in my checkedboxlist. How can I clear an specific item based on its value ,name or anything
else? thanks for your response. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Chris Krasnichuk |
last post by:
hello,
Does anyone know how I make php work on "my" computer?
I made a mistake in my last post so I fixed it here.
Chris
|
by: glitter boy |
last post by:
Ok so I have this class for C. I have to write this program for my
instructor, where he has already posted the softcopy and algorithm. But
my question is I have to convert meters to feet and in this I have to
output not only the feet but also the inches now I think I have coded
the feet calculation properly but. I don't know how to send the
remainder to inches and than recalculate it and display that
calculation here is what I have coded...
|
by: Reza |
last post by:
checkedListBox1.ClearSelected(),dosn't clear my selections in my
checkedboxlist.
|
by: ALI-R |
last post by:
I am using the follwoing code to get all files which have txt as an
extension but I get an error that your search pattern is not correct.it
seems this fuction dosn't accept "*.txt" as search pattern.
Is there somebody can help me?
using System;
using System.IO;
class Test
|
by: Ray Alirezaei |
last post by:
Hi all
When I copy and paste a piece of code from a web page into IDE ,,it is well
formatted and instead of "<" or ">" characters "&alt" shows up.why is that ?
Thanks for your help in advance.
ALI
| |
by: Ahmed Hazzaa |
last post by:
Hi all,
I'm using the ASP.net 2.0 Beta 1, and in the html section of my page the
asp tags dosn't appear, and i get a warning if i wrote them.
Any help
|
by: Jonas.Holmsten |
last post by:
Hello
I'm porting some C++ stuff to C and having problem to get it through
gcc.
Here is a condensed version of the problem:
void foo(const int * const * const ptr)
{}
main()
|
by: paitoon |
last post by:
Hello there,
The fuction $_SERVER; is nice to use but it so complicate for me...
In my site to try to use this to add the information to database..but it work not correct because it will work every time i open that page or even i click to reflesh window......even i use funtion if or even i use window confirm msg....they can not help.
please help me to explain what should i do with this to stop the script to not work before i sut mit...
|
by: sourpo |
last post by:
wonder if anyone can help... I have access db with a whole lot of vb code... If i use access 2000 it works perfectly but when using 2003 it doesn't work properly. The db copies outlook mailboxes... I'm not quite sure why it wont work properly, i can copy my own mailbox but trying to copy some elses wont work, if i export the mailboxes directly through outlook then i can copy them... this isn't an outlook related issue... here is the code which...
|
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...
|
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,...
| |
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...
|
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...
|
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...
|
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...
|
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();...
|
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...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |