Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - Capture the index of Constraints
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Capture the index of Constraints

 Post Reply Post Reply
Author
Message
mg23 View Drop Down
Newbie
Newbie


Joined: 04 September 2008
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote mg23 Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.