This is a migrated thread and some comments may be shown as answers.

Modal Shaped Form problem

3 Answers 104 Views
ShapedForm
This is a migrated thread and some comments may be shown as answers.
Kenneth Jackson
Top achievements
Rank 1
Kenneth Jackson asked on 23 Jan 2008, 02:19 PM
I've created a shaped form inside of a dll that is sometimes used by the core
class of the dll to gain user input.

My problem is that even though i tell the form to show modal via ShowDialog(),
the form does not appear on the screen , only in the taskbar where i have to
click to  make it visible. I've tried even telling the form to also bringtofront and
setfocus in its on load event but still i cant get it to show this shaped form
when it starts up.

3 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 24 Jan 2008, 02:58 PM
Hi Kenneth Jackson,

Thank you for reporting this issue.

Unfortunately we could not reproduce it locally. Please send us a sample application which reproduces the issue. It will help us address any potential issue faster.

We will be glad to help you further.

Greetings,
Jack
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Kenneth Jackson
Top achievements
Rank 1
answered on 25 Jan 2008, 08:06 AM
I've resolved the problem by setting the form to being topmost.

Like that it always appears. Otherwise it is visible but appears behind
other windows that may be open.

I don't think this problem is from your side though,
I suspect this is because the form although being told to display modally , is
being told that by an application that has no interface or forms itself.

The application only calls forms from various dll's. A modal form always
needs a parent for it to be placed "over" , this doesn't have one , so the form is
visible but not on top as it has no parent window.

0
Jack
Telerik team
answered on 25 Jan 2008, 01:32 PM
Hello Kenneth Jackson,

I am glad to hear the issue has been resolved. Feel free to write us if you have other questions.

Regards,
Jack
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ShapedForm
Asked by
Kenneth Jackson
Top achievements
Rank 1
Answers by
Jack
Telerik team
Kenneth Jackson
Top achievements
Rank 1
Share this question
or