Hi,
I extended the triggerField to show a dialog with grid upon clicking the trigger. Now all works fine, even the returning of the value of hte selected grid row back into the field. However one problem occurs, the editfield remains on top of the dialog and I cant seem to prevent this. I tried setting a higher z-index on the dialog, but to no avail. Any idea how to make sure the dialog is on top of the editfield?
I think its the layer element of the editor (im having a propsgrid) that is trying to stay on top. But since there is not reference to the editor from the field object im not sure how to make it work. If i just let the editor complete the edit as soon as the dialog is opened, i could try to set the value after the user closes the dialog, but again i dont seem to have any reference to the original grid cell from within my field.
Any help is much appreciated!
Thanks already,
Seldon
I extended the triggerField to show a dialog with grid upon clicking the trigger. Now all works fine, even the returning of the value of hte selected grid row back into the field. However one problem occurs, the editfield remains on top of the dialog and I cant seem to prevent this. I tried setting a higher z-index on the dialog, but to no avail. Any idea how to make sure the dialog is on top of the editfield?
I think its the layer element of the editor (im having a propsgrid) that is trying to stay on top. But since there is not reference to the editor from the field object im not sure how to make it work. If i just let the editor complete the edit as soon as the dialog is opened, i could try to set the value after the user closes the dialog, but again i dont seem to have any reference to the original grid cell from within my field.
Any help is much appreciated!
Thanks already,
Seldon

用户在扩展触发字段以显示带有网格的对话框时遇到问题。点击触发字段后,编辑字段保持在对话框上方,导致对话框无法完全覆盖编辑字段。寻求解决方法以确保对话框始终位于编辑字段之上。

被折叠的 条评论
为什么被折叠?



