Print Page | Close Window

Key property missing

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=4357
Printed Date: 21 June 2025 at 8:48am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Key property missing
Posted By: cryo75
Subject: Key property missing
Date Posted: 06 June 2006 at 4:59am

Hi,

It would be nice (and helpful) if there is a key property (as string) along with the ID for all objects.

Ivan




Replies:
Posted By: gshawn
Date Posted: 06 June 2006 at 5:26am

whoa that's the weirdest thing, I was just reading the PECompact forums and all of a sudden I realized you also posted here :)

Seems you know a good tool when you see one..... Cheers!



Posted By: cryo75
Date Posted: 06 June 2006 at 5:53am

Yeah... that's all me!!

It's that time of year when I'm in the middle of developing the next version, so I guess there will be a lot of activity from me :)

Cheez!

Ivan



Posted By: SuperMario
Date Posted: 06 June 2006 at 9:24am
Possibly you are wanting the "Parameter" property which is exactly like a "Tag" property on most controls?


Posted By: cryo75
Date Posted: 14 June 2006 at 6:55am

No. It's a unique key that identifies an object within a collection.

With a standard VB collection, you can add an item such as:

myCol.Add "MyName1", "keyA"

myCol.Add "MyName2", "keyB"

Then I can access MyName2 by doing:

myCol(2) or

myCol("keyB")

Ivan




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net