textfield show text

You must Login before you can answer or comment on any questions.

Hello

I have a problem with a textfield, this is slow to show the board and does not show the text I'm writing .... any solution for this?

thanks

5 Answers

Please post the code which is failing. I don't think it would be even worth a guess as to what is happening.

Also please post what platform etc. Look at the notes on how to post to the forum. We need info to be able to help.

I know it is not a forum, just wondering if someone is the same.

var textfield2 = Ti.UI.createTextField({
        borderRadius:5,
        width:252,
        height:18,
        left:50,
        top:140,
        backgroundColor:'#FFF',
        color:'#333',
        zIndex:8
    });

— answered 8 months ago by antonio medel
answer permalink
1 Comment
  • Antonio

    Again from the info you have provided its very difficult to get an answer. How is the window being called, when is the textfield being added to the window is it part of a different view, what platform are you running this on. Where are you adding the text etc etc etc

    Minimal info really is not possible to diagnose the issue.

    This is not a common problem and is probably an issue with the code, but please if you would like it looked at we do need the information to be able to diagnose the problem.

    — commented 8 months ago by Trevor Ward

OK

This textfield belongs to a view and this view to a window, I'm working on android. and this code is activated by pressing a button.

— answered 8 months ago by antonio medel
answer permalink
1 Comment
  • Thanks for the info, but again you have missed the point. The only answer I can give you is that you have something wrong with your code.

    Without seeing the textfield in relation to the other code It is impossible to go any further. I really would have liked to be able to help as this is a Q & A forum where people provide their knowledge and help resolve issues. But if the person isn't prepared to provide the information needed then we can't really help out.

    My guess would be that you have another object within the same space and the zindex is putting in front of the textfield, but being honest I have no idea.

    — commented 8 months ago by Trevor Ward

Ok

In a few minutes show the code, can a textfield can not be nested to a view and this causes conflict.

And thank you very much for your help

— answered 8 months ago by antonio medel
answer permalink
1 Comment
  • A textfield can be nested inside a view yes ... not sure you can nest a view inside a text field though.

    — commented 8 months ago by Trevor Ward

i canoot see my text it is very small and tried all different sizes, what is the problem here?

Your Answer

Think you can help? Login to answer this question!