プログラムで (デザイナーではなく) ラベルを作成すると、フォーム上で右揃えになりません。
Set lblStatus = StatusForm.Controls.Add("VB.Label", "lbl" & xml(Prop, "column"))
With lblStatus
.Visible = True
.Caption = Text
.Alignment = vbRightJustify
.WordWrap = False
.AutoSize = True
.top = Index * (lblStatus.height)
.left = MaxWidth - Screen.TwipsPerPixelX * 15
.Width = StatusForm.TextWidth(Text)
End With
これらのコントロールを 3 つ作成しましたが、右からではなく左から拡張し続けます。
#
理想的には、これらのラベル ( で囲まれている) にセミコロンを並べたいと思います。