Hi,
As I understand, Page is an “object” that takes up the whole browser viewport, Window is an object that can be closed/resized/minimized. But there is also a Form object. What is its purpose?
Best regards,
Alex
In terms of top level controls we have:
The fourth control that can be designed is the UserControl. All it means is that it’s a design surface. Otherwise any control can have child controls.
We’ll add a fifth “designable” control as an extension: PopupControl. It will have a design surface, like the UserControl, and new properties to let you “hook” it to another control. So basically the PopupControl will allow you to add a ComboBox-like dropdown panel to anything.
HTH
Best,
Luca
It uses the existing popup widget in qooxdoo – which is also the container used for the combo dropdown and all the popups in wisej. You design it as a UserControl then you can instantiate it and link it to any control and you can define the alignment style.
pooup1.Opener = textBox1;
popup1.Alignment = ContentAlignment.MiddleTop;
popup1.ActivationMode = PopupActivaton.OnRightClick;
The popup now is displayed at the specified relative location when the user right clicks textBox1 and it’s automatically closed like a context menu or a drop down.
You can also show it or hide it programmatically. And it tracks the location if the opener is moved.
It lets you add a dropdown/context custom panel to any control.
Best,
Luca
Hi Luca,
I don’t quite the idea of the PopupControl. How is it intended to be used?