MarkH
lists at theopg.com
Sat Jan 22 18:07:43 CST 2005
Hello again... I am opening a form with a treeview which is used for selecting records (checkboxes enabled). When the form opens I want to tick any records that already exists. i.e. I cycle the nodes and if I get a match I set the nodes checked value to true. Very simple and if I fire the code from a command button that can be clicked after the form is loaded it works fine. Problem is, even though the code hits the node.checked=true line during form open (and load, I tried both) the nodes are not actually checked :@(, even if I set the checked value to true when creating the node in the first place. It seems I can only affected the checked value after the form is fully loaded. Any ideas much appreciated Cheers Mark PS - yes I am a sad git, it's Saturday night and I'm in front of a PC ;@( --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.832 / Virus Database: 566 - Release Date: 10/01/2005