Dynamic text formatting

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
mwilk
Posts: 15
Joined: Fri Apr 05, 2013 1:48 pm

Dynamic text formatting

Post by mwilk »

I want to display an array of values. Currently, I have a screen that displays a table of the values, with a label next to each value. The labels are simple text boxes, each has a text value hardcoded.

So the display looks something like this:

"00" = value[0]
"01" = value[1]
...
"99" = value[99]

I'd like to redefine the display in such a way that I can add a button to the screen that says "Next" and "Back". "Next" would increment a variable and "Back" would decrement that variable (call it page_num for example).

Then, I'd like to be able to change the way I display to this:

text( (page_num * 100) + 0)
text( (page_num * 100) ) + 1)
..
text( (page_num * 100) ) + 99)

or similar.

Is a script the only way to do this?

Thanks.

luke.watson
Posts: 1
Joined: Thu Nov 21, 2013 12:07 pm

Re: Dynamic text formatting

Post by luke.watson »

@mwilk,
Pardon me if this isn't what you're looking for, but have you tried using aliases?

mwilk
Posts: 15
Joined: Fri Apr 05, 2013 1:48 pm

Re: Dynamic text formatting

Post by mwilk »

luke.watson wrote:@mwilk,
Pardon me if this isn't what you're looking for, but have you tried using aliases?
No I haven't. I'm not familiar, so I'll look into it.

Post Reply