1- object MainView: TMainView
2- Width = 315
1+ object Form2: TForm2
2+ Width = 640
33 Height = 480
44 Font.Charset = DEFAULT_CHARSET
55 Font.Color = clWindowText
@@ -16,43 +16,59 @@ object MainView: TMainView
1616 Width = 43
1717 Height = 16
1818 Caption = ' UserID:'
19- ElementID = ' lbUserID'
2019 HeightPercent = 100.000000000000000000
2120 WidthPercent = 100.000000000000000000
2221 end
23- object edtUserID: TWebEdit
22+ object WebLabel3: TWebLabel
23+ Left = 312
24+ Top = 33
25+ Width = 130
26+ Height = 16
27+ Caption = ' Push Notification demo'
28+ ElementID = ' title'
29+ HeightPercent = 100.000000000000000000
30+ WidthPercent = 100.000000000000000000
31+ end
32+ object WebLabel4: TWebLabel
33+ Left = 312
34+ Top = 65
35+ Width = 184
36+ Height = 16
37+ Caption = ' Usage of TWebPushNotifications'
38+ ElementID = ' description'
39+ HeightPercent = 100.000000000000000000
40+ WidthPercent = 100.000000000000000000
41+ end
42+ object WebEdit1: TWebEdit
2443 Left = 57
2544 Top = 8
2645 Width = 216
2746 Height = 19
28- ElementID = ' edtUserID'
2947 HeightPercent = 100.000000000000000000
3048 WidthPercent = 100.000000000000000000
31- OnChange = edtUserIDChange
49+ OnChange = WebEdit1Change
3250 end
33- object btnSubscribe : TWebButton
51+ object WebButton1 : TWebButton
3452 Left = 8
3553 Top = 33
3654 Width = 265
3755 Height = 25
3856 Caption = ' Subscribe for push notifications'
3957 ChildOrder = 1
40- ElementID = ' btnSubscribe'
4158 HeightPercent = 100.000000000000000000
4259 WidthPercent = 100.000000000000000000
43- OnClick = btnSubscribeClick
60+ OnClick = WebButton1Click
4461 end
45- object btnUnsubscribe : TWebButton
62+ object WebButton2 : TWebButton
4663 Left = 8
4764 Top = 64
4865 Width = 265
4966 Height = 25
5067 Caption = ' Unsubscribe from push notifications'
5168 ChildOrder = 2
52- ElementID = ' btnUnsubscribe'
5369 HeightPercent = 100.000000000000000000
5470 WidthPercent = 100.000000000000000000
55- OnClick = btnUnsubscribeClick
71+ OnClick = WebButton2Click
5672 end
5773 object WebPushNotifications1: TWebPushNotifications
5874 RegisterSubscriptionURL = ' http://localhost:8081/registerSubscription'
0 commit comments