Hi Louis
I've just checked in the dictionary and see that the 'true' and 'false' variables are used without quotes as in:
Code: Select all
mobileControlSet tControl, "visible", true
If you don't want to show the field when the card opens I suggest you only create it when you need it as it sounds like you are creating it as the card opens which is too early for you. The other thing to watch out for is order - could it be that your 'hide and disable' code is firing too early and is being overridden?
I've never used a multiline but my experience of other native controls would lead me to expect it to 'float' above all other controls on your app, and even if you set its 'visible' to false it might still respond to user's touches and mess things up for you - safer to both hide it and move it off screen - or I guess you disabling it whilst hiding it is your approach to getting rid of it while it's not wanted?
As regards hiding a group after a mouseUp that should be OK but the same thing applies to how native controls float independently and you may need to both hide and move it