-
Notifications
You must be signed in to change notification settings - Fork 2
/
unVyberHandsets.pas
55 lines (41 loc) · 944 Bytes
/
unVyberHandsets.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
unit unVyberHandsets;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs,
StdCtrls, ExtCtrls,unit1,
cef3lib,cef3lcl,cef3api,strutils,LazUTF8;
type
{ TfrmVyberHandsets }
TfrmVyberHandsets = class(TForm)
OK: TButton;
Cancel: TButton;
RadioGroup1: TRadioGroup;
procedure FormShow(Sender: TObject);
private
{ private declarations }
public
{ public declarations }
end;
var
frmVyberHandsets: TfrmVyberHandsets;
implementation
{$R *.frm}
{ TfrmVyberHandsets }
procedure TfrmVyberHandsets.FormShow(Sender: TObject);
var
delkaHandSets: SizeInt;
i: Integer;
pomString: String;
begin
RadioGroup1.Items.Clear;
delkaHandSets:= utf8length(handSets);
for i:=1 to 6 do
begin
pomString:= Extractdelimited((1*i)+(6*(i-1)),handSets,[',']);
if pomString='' then exit;
RadioGroup1.Items.Add(pomString);
end;
AdjustSize;
end;
end.