John Woodsmall Active Member Licensed User Longtime User Sep 25, 2017 #1 B4X: Sub speak_text_1_click Speak_Text_1.HintText ="" Speak_Text_1.Text ="" End Sub When i click on the textarea the keyboad comes up but the hint text stays in the textarea. i need it to disappear.
B4X: Sub speak_text_1_click Speak_Text_1.HintText ="" Speak_Text_1.Text ="" End Sub When i click on the textarea the keyboad comes up but the hint text stays in the textarea. i need it to disappear.
Erel B4X founder Staff member Licensed User Longtime User Sep 26, 2017 #2 There is no view named TextArea in B4i. I guess that you mean TextField. The hint will disappear automatically when the text will not be empty. Try to add Sleep(5) before you set the HintText property. Upvote 0
There is no view named TextArea in B4i. I guess that you mean TextField. The hint will disappear automatically when the text will not be empty. Try to add Sleep(5) before you set the HintText property.
John Woodsmall Active Member Licensed User Longtime User Sep 26, 2017 #3 ok, tried that. thanks! did not work. the idea is that when you tap on the textfield the hint text disappears and you see an empty box...before you start to enter text. here, the hint text stays there until you start to type-in text and then it disappears (as you said). Upvote 0
ok, tried that. thanks! did not work. the idea is that when you tap on the textfield the hint text disappears and you see an empty box...before you start to enter text. here, the hint text stays there until you start to type-in text and then it disappears (as you said).
Erel B4X founder Staff member Licensed User Longtime User Sep 26, 2017 #4 Try FloatLabeledTextField from iUI8 library. It provides a nicer hint feature. I don't remember whether it moves up when the field become focused or when you enter something. Upvote 0
Try FloatLabeledTextField from iUI8 library. It provides a nicer hint feature. I don't remember whether it moves up when the field become focused or when you enter something.
John Woodsmall Active Member Licensed User Longtime User Sep 26, 2017 #5 ok i put that iuI8 library in and got a failure on the compile (hosted builder). The following build commands failed: CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_httpjob.o B4iProject/b4i_httpjob.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_httputils2service.o B4iProject/b4i_httputils2service.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_richstring.o B4iProject/b4i_richstring.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (3 failures) Upvote 0
ok i put that iuI8 library in and got a failure on the compile (hosted builder). The following build commands failed: CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_httpjob.o B4iProject/b4i_httpjob.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_httputils2service.o B4iProject/b4i_httputils2service.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_richstring.o B4iProject/b4i_richstring.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (3 failures)
Erel B4X founder Staff member Licensed User Longtime User Sep 27, 2017 #6 You should start a new thread for a new question. Upvote 0