jccorreu Posted August 29, 2007 Report Share Posted August 29, 2007 i'm using 7.1.1 I now we can create customized controls. But can we add our own properties to their property nodes? Nothing I've found suggests this is possible, so I thought I'd put it out there. Does anyone know where the properties of a control are stored, any behind the scenes way to access and manipulate them? Otherwise I suppose I can just make a class. thanks James Quote Link to comment
Michael Aivaliotis Posted August 29, 2007 Report Share Posted August 29, 2007 The only way to create custom methods or properties is using the cool and awesome XControls which are only available on LV 8.x and above. Quote Link to comment
LAVA 1.0 Content Posted August 29, 2007 Report Share Posted August 29, 2007 You mentioned building a class.... which to me inferrs that you are using 8.2 or above... yet you say you're on 7.1.1 I'm assuming that you have mixed up your terms. That being said, had my system not rebooted before my earlier reply got sent, I would have said the same thing that Mike said regarding XControls. The one drawback to this approach is that you can not simply extend the properties of an existing control... say a slide You would need to replicate all of the properties of the single control you are intersted in within the XControl in order to expose them from the property nodes. Otherwise you will only have a ver generic set of properties available which although would include yours. I suggest that you investigate the Property Saver toolkit mentioned by Yen in another thread. I beilve that this is the link to it. This toolkit will allow you to extract all properties of a specific control for saving and other purposes {exposing in an x control} Quote Link to comment
Ton Plomp Posted August 29, 2007 Report Share Posted August 29, 2007 QUOTE(NormKirchner @ Aug 28 2007, 05:30 AM) The one drawback to this approach is that you can not simply extend the properties of an existing control... say a slideYou would need to replicate all of the properties of the single control you are intersted in within the XControl in order to expose them from the property nodes. Otherwise you will only have a ver generic set of properties available which although would include yours. I've written a tool to extend the properties of an XControl to include the properties of the parts fo the XControl: http://forums.lavag.org/downloads-file74.html' target="_blank">XControl Inheritance Editor Ton Quote Link to comment
jccorreu Posted August 29, 2007 Author Report Share Posted August 29, 2007 QUOTE(NormKirchner @ Aug 27 2007, 09:30 PM) You mentioned building a class.... which to me inferrs that you are using 8.2 or above... yet you say you're on 7.1.1I'm assuming that you have mixed up your terms. thank you all for your respones. yes I am using 7.1.1, and I did mean class. I know that 8.2 has built in support for classes, but in earlier versions there is still a way of manually making classes that can be passed by reference. I downloaded some tools from the openg site that make it easier. Though I could also just make a type def, since I don't need in this case all the functionality a class can offer. Yet another reason to go to 8.2+. Seems that my bosses are planning on upgrading in the forseeable future, but until then... When I get there, I 'll definitely be re-reading this and the links. James Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.