|  | 
| Capture the index of Constraints | 
| Post Reply   | 
| Author | |
| mg23   Newbie   Joined: 04 September 2008 Status: Offline Points: 1 |  Post Options  Thanks(0)  Quote  Reply  Topic: Capture the index of Constraints Posted: 04 September 2008 at 3:24pm | 
| Is there a way to capture the index of the constraint that was changed in a drop down? For example.  Say I have a drop down that displays names of cities.  If a user selects the 5th city in the drop down, is there a way for me to capture that index in the _ValueChanged event?  What I'm trying to do is update a .txt file with both the .Caption and the .Data values of the constraint so I need to reference them like; Item.Constraints(5).Caption Item.Constraints(5).Data where (5) is the index of the selected drop down. | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 08 September 2008 at 4:14am | 
| 
   Hello,
 Sorry, no. You can only loop your constrains and find it. | |
| 
     Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |