Hello,
how to set label location in top middle at run time according to the text length. For example i have one panel control of size 316,162 and one label at top it displays the security que from the database like what is your pet's name? Or who is your favourite childhood hero? So according to the text length it should come in the middle. For long text no probs but for small it display in left only.
Jigs28 0 Light Poster
Mike Askew 131 Veteran Poster Featured Poster
Jigs28 0 Light Poster
Mike Askew 131 Veteran Poster Featured Poster
Jigs28 0 Light Poster
lxXTaCoXxl 26 Posting Whiz in Training
Jigs28 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.