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
Page 1 of 1
Setting the width of ArrayConstant Element
#2
Posted 22 December 2009 - 08:59 AM
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...
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...
#3
Posted 22 December 2009 - 06:39 PM
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
Felix
#4
Posted 22 December 2009 - 07:26 PM
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
Felix
Share this topic:
Page 1 of 1

Help



Back to top
MultiQuote








