Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

TreeView SelectedImageIndex

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-27-2007, 05:46 PM
Junior Member
 
Join Date: Jun 2007
Location: Alabama, US
Posts: 10
Send a message via Skype™ to adukes
Question TreeView SelectedImageIndex

Does the TreeView SelectedImageIndex always default to something (maybe index 0) even if it is not set? In my app, I do not want the image to change when I select a node because I have the image set according to the contents of the node. However, everytime I select a node the selected node image changes. If this is true, how dow I keep the image from changing?
Reply With Quote
  #2 (permalink)  
Old 06-27-2007, 06:04 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

You can "select" the image according to the node name

However i believe it would be tricky....
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #3 (permalink)  
Old 06-27-2007, 06:09 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

When you set the node's ImageIndex set the node's SelectedImageIndex to the same value.
Reply With Quote
  #4 (permalink)  
Old 06-27-2007, 06:58 PM
Junior Member
 
Join Date: Jun 2007
Location: Alabama, US
Posts: 10
Send a message via Skype™ to adukes
Default

Quote:
Originally Posted by Erel View Post
When you set the node's ImageIndex set the node's SelectedImageIndex to the same value.
Thanks,
That will work!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
TreeView Editing Cableguy Questions (Windows Mobile) 1 07-13-2008 09:36 PM
Stupid question: Where is TreeView.dll? yildi Questions (Windows Mobile) 2 02-16-2008 03:19 PM
Bug in TreeView.dll/ControlsEx.dll? specci48 Bug Reports 4 09-26-2007 02:45 PM
TreeView.Control dzt Bug Reports 3 08-29-2007 01:05 PM
TreeView event magi6162 Questions (Windows Mobile) 3 08-29-2007 10:29 AM


All times are GMT. The time now is 08:23 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0