Page 1 of 1

Select dialog and edit

PostPosted: 09 May 2017 17:32
by zsleo
Iw 14.1.13 CGD 3.5.0.231

How do I select a dialog that is in a frame and edit it's components?

TIA

Re: Select dialog and edit

PostPosted: 10 May 2017 09:27
by Alexander Bulei
Hi zsleo,

How do I select a dialog that is in a frame and edit it's components?


Please explain better your question.

Best Regards.

Re: Select dialog and edit

PostPosted: 10 May 2017 19:39
by zsleo
When I have a modal dialog on a frame and it is visible and it is forced to top, when I click on the dialog or a component on dialog then the component on the frame is selected and not the dialog or the component on the dialog.

Hope that explains my problem better.

Re: Select dialog and edit

PostPosted: 11 May 2017 14:47
by Alexander Bulei
Hi zsleo,

You can use the CGDesigner.ShowInDesign property, which will affect the desing time only.

Best Regards.

Re: Select dialog and edit

PostPosted: 11 May 2017 23:49
by zsleo
Alexander,

I know that. If I set it to false then the dialog is not visible at design time. If I set it to true then the dialog is visible at design time.

My problem is that when I set it to true then I cannot select the dialog or any of the components on the dialog. When mouse over the dialog or any of its components and click then a component on the frame is selected.

Re: Select dialog and edit

PostPosted: 12 May 2017 09:21
by Alexander Bulei
Hi zsleo,

Do you have AutoOpen = False?

Best Regards.

Re: Select dialog and edit

PostPosted: 12 May 2017 18:22
by zsleo
Yes

Re: Select dialog and edit

PostPosted: 12 May 2017 18:25
by Alexander Bulei
Hi zsleo,

We've already fixed that issue in 4.0.0.5...

Alternatively, if you can't or don't want to update, set the AutoOpen = True for develop.

Best Regards

Re: Select dialog and edit

PostPosted: 14 May 2017 23:47
by zsleo
Alexander,

I updated to 4.0.0.5 and there is some improvement.

1. Dialog
- Can now select components on the dialog but can't select the dialog itself.
- Click on dialog still selects the component under the dialog

2. DialogEx
- Can now select components on the dialog but can't select the dialog itself.
- Click on dialog still selects the component under the dialog
- Title Bar and buttons are not displayed

Regards