N
Neville Lang
Hi all,
I have a TabControl with a number of TabPages. When one particular TabPage
is selected, a button on the ToolBar next to the menu becomes visible in my
app. When a user taps it, it raises a small window I created with a number
of buttons on it. That small window is instantiated in the normal way and I
then use xxx.Show() to display it. Meanwhile, the TabPage is still visible
to user in the background.
My problem is that if the user happens to tap anywhere on the TabPage in the
background, as expected, focus now moves to the TabPage via the TabControl
and the TabPage automatically re-paints. I have a situation where I do not
want the background TabPage to re-paint when that small window has been
activated. While I can intercept the OnGotFocus(), I cannot find a way to
prevent the TabPage from re-painting under these circumstances. Ideas
anyone?
Regards,
Neville Lang
I have a TabControl with a number of TabPages. When one particular TabPage
is selected, a button on the ToolBar next to the menu becomes visible in my
app. When a user taps it, it raises a small window I created with a number
of buttons on it. That small window is instantiated in the normal way and I
then use xxx.Show() to display it. Meanwhile, the TabPage is still visible
to user in the background.
My problem is that if the user happens to tap anywhere on the TabPage in the
background, as expected, focus now moves to the TabPage via the TabControl
and the TabPage automatically re-paints. I have a situation where I do not
want the background TabPage to re-paint when that small window has been
activated. While I can intercept the OnGotFocus(), I cannot find a way to
prevent the TabPage from re-painting under these circumstances. Ideas
anyone?
Regards,
Neville Lang