Black Pearl Posted December 21, 2009 Report Share Posted December 21, 2009 The two cases I face are: * An array of strings * An array of enums I would like to set a fixed width for both kinds of elements. I can do this in the editor (It doesn't work for enums alone, but if they are contained in an array container). My result so far: * Bounds, MasterRect, ... are all write only * Left of the array moves the array, but the right side as well * Element.Left does have no effect * With an FP string, there are 2 ways (Size and Text.Size), none of them available for a BD Constant. Create Constant and Change to Constant as well as Copy/Paste loose the size information. Felix Quote Link to comment
Black Pearl Posted December 22, 2009 Author Report Share Posted December 22, 2009 Got some of it working! Place a string control as vi obj class String Constant using Scripting on the BD. Type Cast the reference to String Control using Flatten to String/Unflatten From String (to more specific throws error). Now I can succesfully access the Size property of the String Control Class! Still need to check with arrays, enums... Felix Progress: Enums go as well. Will try arrays tonight... Quote Link to comment
Black Pearl Posted December 22, 2009 Author Report Share Posted December 22, 2009 Next problem, how to link the enum to a type def? Any way I tried makes the enum look as normal BD enum and not as FP enum on the BD. Felix Quote Link to comment
Black Pearl Posted December 22, 2009 Author Report Share Posted December 22, 2009 Stupid me! Of course it is not dependend on the silly FP look on the BD. All I need is the access to the hidden properties. Now it works... Felix 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.