Hint field in Text

roarnold

Active Member
Licensed User
Longtime User
Evening,

I receive an error on "Hint".

B4X:
                txtflexion.Initialize("txtflexion")
      txtflexion.Hint = " Enter Saline Infusion Sonohysterography"
      txtflexion.TextSize = 12
      Activity.AddView(txtflexion, 150dip, 50dip, 170dip, 30dip)

Any idea?

Thanks,
Ron
 

stevel05

Expert
Licensed User
Longtime User
I cut and pasted your example and it works without an error. What error are you seeing? Unless you haven't dimmed txtflexion as EditText in Globals.
 
Last edited:
Upvote 0

roarnold

Active Member
Licensed User
Longtime User
Steve,

It is as if it is ignoring the "TextSize" command. Interestingly, the label and text above it and below it are small also like it is ignoring the textsize command.

Thx R
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
Sounds like it may be the result of scaling then, and the relative size/density of your device. Have you tried autoscaling in the designer scripts.

-------------------
Sent via Tapatalk
 
Upvote 0
Top