Solved

Change items in RadioGroup?

Posted on 1998-04-11
3
240 Views
Last Modified: 2010-04-06
How can I change (dynamic) the items in a RadioGroup? I want to do this in the program itselve.
Thanx very much.
Stefan van Roosmalen
roosiedb@worldaccess.nl
0
Comment
Question by:roosiedb
3 Comments
 
LVL 4

Expert Comment

by:itamar
ID: 1361409
Hi Stefan

What do you mean by change the items ? Its caption, number of items, what ?

Give us more details, so we can help further.

Regards,
Itamar
0
 

Author Comment

by:roosiedb
ID: 1361410
When you have the next radiogroup:

choose options:
O  turn off computer
O  turn off monitor
O  turn off screensavers

and you want to change the "turn OFF screensaver" into "turn ON screensavers" how do you do that?
0
 
LVL 5

Accepted Solution

by:
inter earned 10 total points
ID: 1361411
Hi,

Assume we have a radio group named RG. To add the items in run time:
RG.Add('turn off computer');
RG.Add('turn off monitor');
RG.Add('turn OFF screensavers');
To change, say, the 3rd item in run time:
RG.items[2] := 'turn ON screensavers';

Regards,
Igor
0

Featured Post

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi XE10, DigitalPersona Fingerprint reader and MySQL 6 272
HTML text in the body of an email (delphi code) 12 121
LAN or WAN ? 11 92
Firemonkey webbrowser scrollbars ? 1 41
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question