@@ -57,7 +57,7 @@ Begin Window ConnectWindow
5757 Visible = True
5858 Width = 80
5959 End
60- Begin Label StaticText1
60+ Begin Label LabelHostname
6161 AutoDeactivate = True
6262 Bold = True
6363 DataField = ""
@@ -92,7 +92,7 @@ Begin Window ConnectWindow
9292 Visible = True
9393 Width = 80
9494 End
95- Begin Label StaticText2
95+ Begin Label LabelUsername
9696 AutoDeactivate = True
9797 Bold = True
9898 DataField = ""
@@ -127,7 +127,7 @@ Begin Window ConnectWindow
127127 Visible = True
128128 Width = 80
129129 End
130- Begin Label StaticText3
130+ Begin Label LabelPassword
131131 AutoDeactivate = True
132132 Bold = True
133133 DataField = ""
@@ -294,7 +294,7 @@ Begin Window ConnectWindow
294294 Visible = True
295295 Width = 289
296296 End
297- Begin Label StaticText4
297+ Begin Label LabelEncryption
298298 AutoDeactivate = True
299299 Bold = True
300300 DataField = ""
@@ -383,7 +383,7 @@ Begin Window ConnectWindow
383383 Visible = True
384384 Width = 381
385385 End
386- Begin Label StaticText5
386+ Begin Label LabelPort
387387 AutoDeactivate = True
388388 Bold = True
389389 DataField = ""
@@ -506,7 +506,7 @@ Begin Window ConnectWindow
506506 Visible = True
507507 Width = 66
508508 End
509- Begin Label StaticText6
509+ Begin Label LabelTimeout
510510 AutoDeactivate = True
511511 Bold = True
512512 DataField = ""
@@ -548,7 +548,6 @@ Begin Window ConnectWindow
548548 Backdrop = 0
549549 DoubleBuffer = False
550550 Enabled = True
551- EraseBackground = "True"
552551 Height = 24
553552 HelpTag = "Choose a Favorite"
554553 Icon = 739430882
@@ -577,7 +576,6 @@ Begin Window ConnectWindow
577576 Backdrop = 0
578577 DoubleBuffer = False
579578 Enabled = True
580- EraseBackground = "True"
581579 Height = 24
582580 HelpTag = "Remove from Favorites"
583581 Icon = 126985391
@@ -606,7 +604,6 @@ Begin Window ConnectWindow
606604 Backdrop = 0
607605 DoubleBuffer = False
608606 Enabled = True
609- EraseBackground = "True"
610607 Height = 24
611608 HelpTag = "Add to Favorites"
612609 Icon = 1618674496
835832#tag Events EncryptionPopup
836833 #tag Event
837834 Sub Change()
838- PEMPassword.Visible = ( me .ListIndex = 3 )
835+ Dim isSSL As Boolean = ( Me .ListIndex = 3 )
836+
837+ PEMPassword.Visible = isSSL
838+ If isSSL Then
839+ LabelEncryption.HelpTag = CubeSQLPlugin.OpenSSLVersion
840+ me .HelpTag = CubeSQLPlugin.OpenSSLVersion
841+ Else
842+ LabelEncryption.HelpTag = ""
843+ me .HelpTag = ""
844+ End If
845+
839846 End Sub
840847 #tag EndEvent
841848#tag EndEvents
0 commit comments