Getting height using Rojohound's supported resolutions

New releases and general discussions.

Post » Mon Mar 17, 2014 8:20 pm

Can someone please show me how to get the height value from the listbox in the cap below?
I understand how to get the width in each line of the listbox. But how do I get the height from each line in the listbox?
Thanks for your time.
Last edited by TunaUppercut on Fri Oct 17, 2014 6:34 am, edited 1 time in total.
B
10
S
3
G
1
Posts: 103
Reputation: 1,390

Post » Mon Mar 17, 2014 11:19 pm

One way to get the height of the first line:
GetToken(ListBox.LineText(0), 1, " ")

2nd:
GetToken(ListBox.LineText(1), 1, " ")
3rd:
GetToken(ListBox.LineText(2), 1, " ")
...
B
92
S
32
G
109
Posts: 5,291
Reputation: 70,993

Post » Tue Mar 18, 2014 2:38 am

Thank you sir. I could not figure it out. Thank you again Rojohound.
B
10
S
3
G
1
Posts: 103
Reputation: 1,390


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 1 guest