Click here to Skip to main content
16,004,828 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: pop3 client Pin
Vimalsoft(Pty) Ltd7-Sep-07 1:39
professionalVimalsoft(Pty) Ltd7-Sep-07 1:39 
AnswerRe: pop3 client Pin
Dave Kreskowiak7-Sep-07 5:19
mveDave Kreskowiak7-Sep-07 5:19 
QuestionCalling Stored SQL Functions from Visual Basic Pin
Mark Cabbage6-Sep-07 23:08
Mark Cabbage6-Sep-07 23:08 
AnswerRe: Calling Stored SQL Functions from Visual Basic Pin
Colin Angus Mackay6-Sep-07 23:58
Colin Angus Mackay6-Sep-07 23:58 
AnswerRe: Calling Stored SQL Functions from Visual Basic Pin
Duncan Edwards Jones7-Sep-07 2:51
professionalDuncan Edwards Jones7-Sep-07 2:51 
GeneralRe: Calling Stored SQL Functions from Visual Basic Pin
Mark Cabbage8-Sep-07 14:42
Mark Cabbage8-Sep-07 14:42 
Questiona case with checkbox (selected and shadow) Pin
nicetohaveyou6-Sep-07 21:24
nicetohaveyou6-Sep-07 21:24 
AnswerRe: a case with checkbox (selected and shadow) Pin
Tom Deketelaere6-Sep-07 22:05
professionalTom Deketelaere6-Sep-07 22:05 
don't really know what you mean with 'shadowed' so it's possibly the same as what I'm going to say now (if so: sorry).

a checkbox (a standerd one so one in treeview normally too) has 3 'checkstate's: unchecked,checked and indeterminate.

In you're case (where super node A with subnodes x,y,z and x = selected) I would put super node A to indeterminate and adjust you're code to do the checks on the checkstate property and not on the checked property

after checkedstatechanged (or some other event (don't know it by heart)) of super node A
If A.checkstate = unchecked then
uncheck all subnodes
else
check all subnodes
end if

after checkedstatechanged (or some other event (don't know it by heart)) of supnode x
if x.checkstate = unchecked then
uncheck subnodes
see if other subnodes of super node are checked
if x.parent.nodes ... = checked
super node A.checkstate = indeterminate
else
super node A.checkstat = unchecked
end if
end if

hope this helps
it's a bit difficult to read (I know) but read it twice and you'll get the idea

If my help was helpfull let me know, if not let me know why.

The only way we learn is by making mistaks.

QuestionSorting Collection with 200000+ Items Pin
MadmanWoo6-Sep-07 21:02
MadmanWoo6-Sep-07 21:02 
AnswerRe: Sorting Collection with 200000+ Items Pin
Tom Deketelaere6-Sep-07 22:11
professionalTom Deketelaere6-Sep-07 22:11 
AnswerRe: Sorting Collection with 200000+ Items Pin
GuyThiebaut6-Sep-07 23:05
professionalGuyThiebaut6-Sep-07 23:05 
GeneralRe: Sorting Collection with 200000+ Items Pin
MadmanWoo10-Sep-07 15:49
MadmanWoo10-Sep-07 15:49 
Questionpls help its urgent [modified] Pin
shyne76-Sep-07 20:39
shyne76-Sep-07 20:39 
AnswerRe: pls help its urgent Pin
Tom Deketelaere6-Sep-07 22:18
professionalTom Deketelaere6-Sep-07 22:18 
Questionits urgent Pin
Lucky Sheikh6-Sep-07 20:00
Lucky Sheikh6-Sep-07 20:00 
AnswerRe: its urgent Pin
Colin Angus Mackay7-Sep-07 0:02
Colin Angus Mackay7-Sep-07 0:02 
AnswerRe: its urgent Pin
Thomas Stockwell7-Sep-07 5:32
professionalThomas Stockwell7-Sep-07 5:32 
QuestionConsole Output Pin
danasegaranea6-Sep-07 19:55
danasegaranea6-Sep-07 19:55 
AnswerRe: Console Output Pin
Dave Kreskowiak7-Sep-07 5:29
mveDave Kreskowiak7-Sep-07 5:29 
QuestionQuestion on Interop.Office.Word Pin
Trupti Mehta6-Sep-07 19:00
Trupti Mehta6-Sep-07 19:00 
AnswerRe: Question on Interop.Office.Word Pin
eyes20076-Sep-07 19:47
eyes20076-Sep-07 19:47 
GeneralRe: Question on Interop.Office.Word Pin
Trupti Mehta6-Sep-07 20:37
Trupti Mehta6-Sep-07 20:37 
GeneralRe: Question on Interop.Office.Word Pin
eyes20076-Sep-07 20:48
eyes20076-Sep-07 20:48 
GeneralRe: Question on Interop.Office.Word Pin
Trupti Mehta6-Sep-07 23:10
Trupti Mehta6-Sep-07 23:10 
QuestionHow to get active control name - - - - immediate Pin
RaveRare6-Sep-07 18:53
RaveRare6-Sep-07 18:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.