Lordkro
IS-IT--Management
- Sep 3, 2011
- 4
I want to know if there is a way I can program a Radio group so, that when I select one that it will load that image which a selescted from an external file
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
uses
Control, Graphics, JPEG;
...
procedure MyRadioGroupClick(Sender: TObject);
begin
case MyRadioGroup.ItemIndex of
0: Image1.Picture.LoadFromFile('C:\0.jpg');
1: Image1.Picture.LoadFromFile('C:\1.jpg');
2: Image1.Picture.LoadFromFile('C:\2.jpg');
end;
end;