2021-01-08, 16:24
Hi, for the following dialogs - extendedprogressdialog, notification - I have a standard design that lives in these dialog xmls fine, but I want a custom design for when my home screen or viewtypes are active.
I'm a bit stuck right now whichever way I approach this... If I place the custom controls in the dialog xmls, they can't read the visibility conditions of controls within myvideonav.xml that I need. And if I place them in myvideonav.xml, I can't get the values of the labels (e.g. the info label with id "31" in extendedprogressdialog).
I think that myvideonav.xml can't see controls that live in dialogs and vice versa, as doing Control.GetLabel(31) stays blank, and in the dialog view, Control.IsVisible(50) for my list view also dosen't work properly.
I tried to get around this with window properties, but I can't figure out how to have it so that the window property is updated as soon as extendedprogressdialog is opened and continuously updates if that value changes.
Any ideas?
Ultimately, I want to be able to put the values of the title and info labels from the notfifcation and extendedprogress dialogs into a label in my main views...
Thanks for any help!
I'm a bit stuck right now whichever way I approach this... If I place the custom controls in the dialog xmls, they can't read the visibility conditions of controls within myvideonav.xml that I need. And if I place them in myvideonav.xml, I can't get the values of the labels (e.g. the info label with id "31" in extendedprogressdialog).
I think that myvideonav.xml can't see controls that live in dialogs and vice versa, as doing Control.GetLabel(31) stays blank, and in the dialog view, Control.IsVisible(50) for my list view also dosen't work properly.
I tried to get around this with window properties, but I can't figure out how to have it so that the window property is updated as soon as extendedprogressdialog is opened and continuously updates if that value changes.
Any ideas?
Ultimately, I want to be able to put the values of the title and info labels from the notfifcation and extendedprogress dialogs into a label in my main views...
Thanks for any help!