How do I compare array data and reuse as a tooltip

Just started using Construct 2? Post your questions here

Post » Thu Apr 30, 2015 3:57 pm

PhlAi wrote:It's not a problem updating fast or slow its size... As I call a function to handle the tooltip behaviour and nothing else is working in the background things should update just in time.

Yeah but the thing is you are checking win_tooltip_taffix.TextHeight immediately after setting the text but the TextHeight value doesn't update until the next tick. So you are checking the old height value before it has updated.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,650

Post » Thu Apr 30, 2015 4:10 pm

Ok now i understand - so, it would work if i set my text in function1 and set its size in function2? Firing another function would represent a tick i guess... !?
B
5
Posts: 15
Reputation: 255

Previous

Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest