SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Closes the popup calendar, popup calculator and autocomplete window.
VB.NET | object.Rollup() |
VB | object.Rollup |
C#.NET | void object.Rollup(); |
VC++ | HRESULT object->Rollup(); |
C | HRESULT object->raw_Rollup(); |
object
The Rollup method closes the popup calendar, popup calculator and autocomplete window.
The popup calendar, popup calculator and autocomplete window normally close automatically, if the control loses the input focus. If an application wants to forcibly close these windows, particularly in a MatchCustom event, the Rollup method can be used.
If e.count > 6 Then AxSftMask1.AutoComplete.AddBottom("ZIP-Code Lookup ...", 2) AxSftMask1.AutoComplete.AddBottom("State Lookup ...", 2) End If End Sub Private Sub AxSftMask1_MatchCustom(ByVal sender As Object, ByVal e As AxSftMaskLib70._ISftMaskEvents_MatchCustomEvent) Handles AxSftMask1.MatchCustom If e.entryType = 1 Then AxSftMask1.Rollup() MsgBox("We could be looking up ZIP codes in another application...") AxSftMask1.Text = "12345" End If If e.entryType = 2 Then AxSftMask1.Rollup() MsgBox("We could be looking up states in another application...") AxSftMask1.AutoComplete.Refresh()
If Count > 6 Then SftMask1.AutoComplete.AddBottom "ZIP-Code Lookup ...", 2 SftMask1.AutoComplete.AddBottom "State Lookup ...", 2 End If End Sub Private Sub SftMask1_MatchCustom(ByVal Text As String, ByVal EntryText As String, ByVal EntryType As Integer) If EntryType = 1 Then SftMask1.Rollup MsgBox ("We could be looking up ZIP codes in another application...") SftMask1.Text = "12345" End If If EntryType = 2 Then SftMask1.Rollup MsgBox ("We could be looking up states in another application...") SftMask1.AutoComplete.Refresh
axSftMask1.AutoComplete.AddBottom("ZIP-Code Lookup ...", 2); axSftMask1.AutoComplete.AddBottom("State Lookup ...", 2); } } private void axSftMask1_MatchCustom(object sender, AxSftMaskLib70._ISftMaskEvents_MatchCustomEvent e) { if (e.entryType == 1) { axSftMask1.Rollup(); MessageBox.Show("We could be looking up ZIP codes in another application..."); axSftMask1.Text = "12345"; } if (e.entryType == 2) { axSftMask1.Rollup(); MessageBox.Show("We could be looking up states in another application..."); axSftMask1.AutoComplete.Refresh();
m_pMask1->AutoComplete->AddBottom(_T("ZIP-Code Lookup ..."), 2); m_pMask1->AutoComplete->AddBottom(_T("State Lookup ..."), 2); } } void CProject1Dlg::OnMatchCustomSftMask1(LPCTSTR Text, LPCTSTR EntryText, short EntryType) { if (EntryType == 1) { m_pMask1->Rollup(); AfxMessageBox(_T("We could be looking up ZIP codes in another application..."), MB_OK, 0); m_pMask1->Text = _T("12345"); } if (EntryType == 2) { m_pMask1->Rollup(); AfxMessageBox(_T("We could be looking up states in another application..."), MB_OK, 0); m_pMask1->AutoComplete->Refresh();
See Also SftMask Object | Object Hierarchy