Allows multi-column layouts and checkbox selection modes.
FM20.DLL is a licensed ActiveX control suite. The design-time license for this library is installed on a machine exclusively via Microsoft Office (Word, Excel, Access, etc.) or developer tools like Visual Studio.
' Add a checkbox to the new page Dim chk As MSForms.CheckBox Set chk = MultiPage1.Pages("Page2").Controls.Add("MSForms.CheckBox.1", "chkEnableLogging", True) chk.Caption = "Enable Logging" chk.Left = 10 chk.Top = 10 microsoft forms 20 object library vb6
Private Sub Form_Load() With ComboBox1 .ColumnCount = 2 .ColumnWidths = "50 pt; 50 pt" .AddItem "Item 1" .List(0, 1) = "Description 1" .AddItem "Item 2" .List(1, 1) = "Description 2" End With End Sub Use code with caution. Conclusion
If you decide to proceed, you can add these controls through the References dialog in the VB6 IDE: Allows multi-column layouts and checkbox selection modes
This snippet loads Unicode text programmatically into an MSForms TextBox—something a standard VB6 TextBox cannot achieve without Windows API overrides.
This library is often used in VB6 specifically to gain access to Unicode-aware ' Add a checkbox to the new page Dim chk As MSForms
(Note: When populating FM20 controls in pure VB6, you can also use the .AddItem method and assign values to specific cells using the .List(row, column) property matrix). The Critical Caveat: Licensing and Redistribution Issues
The Microsoft Forms 2.0 Object Library is a hidden gem for the VB6 developer who knows exactly where to use it. It won’t save your legacy project from eventual migration to .NET, but it might just make that final maintenance release a lot more pleasant.
