Alex Prinias asked 2016-07-18 07:56:22 UTC
Hi,
I'm sending you an MDI Window with the following -- intented -- functionality, which, unfortunately I cannot achieve:
In the constructor I add two mdi child forms: One has a datetimepicker and the second one has a number of buttons on it.
A. When the browser opens, the second one is shown correctly for a split second with the buttons on it and immediately
afterwards the contents disappear. If I switch to the first form and then back to the second the contents show
correctly.
B. The first time one of the buttons is clicked, a new mdi form is created, added to the mdi parent and is shown.
Additionally, a new textbox is created and added to the mdi form which just opened.
The following times a button is clicked there are two possibilities:
- if the button hasn't been clicked before, a new mdi form is created, added to the mdi parent and is shown. The
textbox that had been created earlier is taken from the form on which it was and added to the last form.
- if the button has been clicked before, the form that had been originally opened by that button is activated and
the textbox is moved to it.
What I have observed is that the first time works alright.
Then, in case 1, a new mdi form is added correctly and gets focus, but the textbox disappears. It is neither on the
new nor the original form.
In case 2, the form corresponding to the clicked button does not get focus at all.
C. Aside from the above, I have a datetimepicker on the first form. When the calendar drops, the previous/next month/year
buttons are not visible, although when hovering over their expected position the cursor turns into hand and the tooltip
shows up and also the click functionality is ther.
All this is with Classic-2 theme.
Best,
Alex
Alex Prinias asked 2016-07-18 07:56:22 UTC
Hi,
I'm sending you an MDI Window with the following -- intented -- functionality, which, unfortunately I cannot achieve:
In the constructor I add two mdi child forms: One has a datetimepicker and the second one has a number of buttons on it.
A. When the browser opens, the second one is shown correctly for a split second with the buttons on it and immediately
afterwards the contents disappear. If I switch to the first form and then back to the second the contents show
correctly.
B. The first time one of the buttons is clicked, a new mdi form is created, added to the mdi parent and is shown.
Additionally, a new textbox is created and added to the mdi form which just opened.
The following times a button is clicked there are two possibilities:
textbox that had been created earlier is taken from the form on which it was and added to the last form.
the textbox is moved to it.
What I have observed is that the first time works alright.
Then, in case 1, a new mdi form is added correctly and gets focus, but the textbox disappears. It is neither on the
new nor the original form.
In case 2, the form corresponding to the clicked button does not get focus at all.
C. Aside from the above, I have a datetimepicker on the first form. When the calendar drops, the previous/next month/year
buttons are not visible, although when hovering over their expected position the cursor turns into hand and the tooltip
shows up and also the click functionality is ther.
All this is with Classic-2 theme.
Best,
Alex