Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


TreeView SelectedImageIndex


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-27-2007, 06: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, 07:04 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,314
Default

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

However i believe it would be tricky....
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #3 (permalink)  
Old 06-27-2007, 07:09 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,132
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, 07: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 On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 03:22 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0