NEW VERSION! ULTIMATE SUITE V2009.2 - COMPLETE SET OF 80 .NET WINFORMS COMPONENTS Welcome, Guest  :: Login 

EntrySet.Lists Namespace

PopupControl Component

PopupControl is a component designed to show any control as a popup window.

Popup window has a header at the top which can be turned on and off with the ShowHeader property. The  ShowStatus property shows and hides the status bar at the bottom. The text is accessible through HeaderText and StatusText properties. By setting the AllowListResize property to true you can allow the user to resize the popup window.

The usage of a PopupControl is very straightforward - you just create new class derived from the PopupControl, override the OnPopupShowing method and provide your control there. Then just call the ShowUp method of your class. You can of course create additional properties and metods to change your control appearance etc.

The following code example shows how to open the PopupControl:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
                          Handles Button1.Click
  PopupControl1.ShowUp(Windows.Forms.Cursor.Position, ContainerPanel1, False)
End Sub

After the popup is shown it will be closed with the click somewhere outside the window. If you need to close it with a click somewhere on your control, you just implement the simple IDropDownControl interface. Then raise the DropDownSelectionChanged event when the window is to be closed.

 

     

Testimonials

I wanted to let you know that
I thought the package
of components is the best I've seen both in terms of looks
and functionality and user-friendliness. The developers did a fantastic job on it and really made it easy for a developer
to use them. Perhaps you can let them know.

Congratulations.
Best, Francois

Our customers

Ultimate Suite contains these components:

ScheduleSet.Calendars
Clock, DatePicker, DateTimePicker, GridCalendar, LightCalendar, MonthPicker, MonthSelector, RichCalendar, RichCalendarCombo, TimePicker

EntrySet.Lists
ColorList, ColorListDropDown, ColorListPopup, DropDownControl, LightGrid, ListBox, ListBoxDropDown, ListBoxPopup, MultiList, MultiListDropDown, MultiListPopup, OutlookList, PictureList, PictureListDropDown, PictureListPopup, PopupControl, TreeView

EntrySet.Controls
Button, CheckBox, ColorPicker, ComboBox, CommandButton, ContainerPanel, ControlFlash, ControlHighlight, DatePicker, Divider, FlagBox, FormManager, GroupBox, Header, Label, PictureBoxAnimate, RadioButton, RichComboBox, RichEditBox, RichLabel, RichListBox, ScreenTipControl, SlidePanel, SpinEditBox, SystemProgressBar, SystemScrollBar, TabControl, TaskPanel

EntrySet.Extenders
ItemBindingExtender, ValidationExtender, VisualExtender

ActionSet.Navigators
AccessNavigator, AccessNavigatorMDI, NavigatorsThemeController, OutlookNavigator, SimpleNavigator, SimpleNavigatorMDI

ActionSet.RibbonUI
Ribbon, RibbonButton, RibbonButtonGroup, RibbonComboBox, RibbonControl, RibbonDivider, RibbonDropDownButton, RibbonForm, RibbonGallery, RibbonGroupPanel, RibbonLayoutPanel, RibbonScrollBar, RibbonTextBox, RibbonThemeController




Feedback Form