Indigo Rose Software
  #1  
Old 09-28-2005
purg purg is offline
Forum Member
 
Join Date: Sep 2005
Posts: 4
Tree default checked

Could be blind but im unable to find how to create a tree (checkboxes=true) with some of the boxes checked by default. Come to think about it im also unable to find anyway to check or uncheck any of the boxes from a script.

tree1
tree1.1
tree1.2
tree2
tree2.1

If tree1 is checked I would like 1.1 & 1.2 auto checked or unchecked.

Im also wanting to have a button for unselect all and select all.

Help

Last edited by purg; 09-28-2005 at 07:07 PM.
Reply With Quote
  #2  
Old 09-29-2005
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
Our next service release will have a way to get/set the checked state of a tree item.
Reply With Quote
  #3  
Old 09-30-2005
SonG0han SonG0han is offline
Forum Member
 
Join Date: Dec 2003
Posts: 155
an action to enable/disable/invert all checkboxes below would be nice too.

if you select the checkbox of the one on top all below get checked too. (not always what you want but sometimes its good)
Reply With Quote
  #4  
Old 09-30-2005
purg purg is offline
Forum Member
 
Join Date: Sep 2005
Posts: 4
Quote:
Originally Posted by SonG0han
an action to enable/disable/invert all checkboxes below would be nice too.

if you select the checkbox of the one on top all below get checked too. (not always what you want but sometimes its good)
That was the first thing I looked at trying to do and thought I must have missed something basic. I look forward to the service pack as the tree is usless in its present state. Honestly no offence but for the two projects I have both require this checking. Any questimate release date for the update?
Reply With Quote
  #5  
Old 10-01-2005
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
Next week for sure.
Reply With Quote
  #6  
Old 10-02-2005
purg purg is offline
Forum Member
 
Join Date: Sep 2005
Posts: 4
Using a work around in the meantime

Code:
Software_check[e_NodeIndex] = "unchecked";
Software_number = Software_number - Math.Pow(2,e_NodeIndex);
if e_Checked then
	Software_number = Software_number + (2*Math.Pow 2,e_NodeIndex));
	Software_check[e_NodeIndex] = "checked";
end
This doesnt allow default checked items but simplifies checking which tree options have been checked. Software_number contains a base 2 value you can easily reverse in other scripts. Software_check[e_NodeIndex] isnt needed but needed to an input screen I was using.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting variables for print Scally AutoPlay Media Studio 4.0 13 02-19-2003 09:52 AM
INFO: How to Set the Default Application Directory Support Setup Factory 6.0 Knowledge Base 0 09-25-2002 01:02 PM
Default text in edit field - Multiple edit screen Romahe Setup Factory 6.0 1 12-18-2001 02:01 PM


All times are GMT -6. The time now is 10:11 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software