Jump to content

Setting the width of ArrayConstant Element


Black Pearl

Recommended Posts

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

Link to comment

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...

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.