Thank you for your response.
I wonder if it is possible to have an alternate Dialog constructor with a 
boolean parameter

Dialog(boolean wantsToTakeWebViewScreenshot)
{
...
}

The WebView screenshot could be to added the other components' screeshot 
list, optionally.
Optionally means that there is a caveat for the developer.
I think that the doing the screenshot for the WebView does not take so 
long, at least for my application. 
So I could test it on common devices or emulators, and the slowest ones 
could be declared not compatible if the waiting time is really too much.
What about this?

Il giorno martedì 22 dicembre 2020 alle 19:47:43 UTC+1 Steve Hannah ha 
scritto:

> So why obfuscate the underlying form in the first place? Why making things 
>> like that the WebView is blank?
>>
>
> Dialog IS a Form.  Only one Form is displayed at a time.  To create the 
> effect that the previous form is present, we take a screenshot of the form, 
> and display it as a background to the Dialog.
>
> An InteractionDialog is NOT a Form.  It is a component that is rendered in 
> the current form's hierarchy.
>
> This is the fundamental distinction, and all other differences in 
> behaviour stem from this.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/8bde0fa8-c441-4d0f-98af-de7f2c70147fn%40googlegroups.com.

Reply via email to