[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 334
  • Last Modified:

RadioGroup text visibility

I have a Radiogroup for which visible is initially false.  When I set
visible to true during execution, the Radiogroup box appears, but
the text is missing.  The same thing happens if I use hide and show.
If I set visible initially to true, the text is there.  
0
RalphSCoffin
Asked:
RalphSCoffin
  • 3
1 Solution
 
shaneholmesCommented:
Hi, is this a standard TRadioGroup , or a third party?
0
 
shaneholmesCommented:
Is this a standard TRadiogroup or a thirdparty?

Did you try things such as   RadioGroup1.Invalidate;  or repaint?

Or something as simple as processing the application messages

Appliaction.ProcessMessages;

You would do this after each show/hide,   or visibility change


sholmes
0
 
RalphSCoffinAuthor Commented:
Standard RadioGroup.  I have an almost identical RadioGroup on
another form that works.  So I copied the working RadioGroup from
the working form and pasted in place of the RadioGroup that
doesn't work and the problem persists.  I've been careful to put
the RadioGroup on the form so that it isn't inside some other
item on the form.  This is insane.  
0
 
shaneholmesCommented:
There can be problems with cutting and pasting when it comes to ownership.
I advice never to cut and past controls onto other controls (nested). It is best to just drop them on and reset the properties to match the previous one.
I bet, you remove that TRadioGroup, REBUILD/RECOMPILE, then drop one on (do not cut and paste), then REBUILD/RECOMPILE and it will work.....

sholmes
0
 
JDuncanCommented:
Try Radiogroup1.Update
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now