Re: various form with browser
Posted: Tue Jun 19, 2018 6:47 pm
Hi,
These are the original CEF code comments for that event :
Use the TabBrowser demo as a template for your application. It loads multiple web pages without problems.daylan.audrey wrote: Tue Jun 19, 2018 6:23 pm the user can open several tabs, however, when the second one opens, it no longer loads the page, needs to close it and open again ... Is there any configuration to use more than one form in the same application?
Use the TChromium.OnFileDialog event to run a file chooser dialog.daylan.audrey wrote: Tue Jun 19, 2018 6:23 pm Another thing, is how to get the directory that saved the pdf, when the DisablePDFExtension property is set to True?
These are the original CEF code comments for that event :
Code: Select all
///
// Called to run a file chooser dialog. |mode| represents the type of dialog
// to display. |title| to the title to be used for the dialog and may be empty
// to show the default title ("Open" or "Save" depending on the mode).
// |default_file_path| is the path with optional directory and/or file name
// component that should be initially selected in the dialog. |accept_filters|
// are used to restrict the selectable file types and may any combination of
// (a) valid lower-cased MIME types (e.g. "text/*" or "image/*"),
// (b) individual file extensions (e.g. ".txt" or ".png"), or (c) combined
// description and file extension delimited using "|" and ";" (e.g.
// "Image Types|.png;.gif;.jpg"). |selected_accept_filter| is the 0-based
// index of the filter that should be selected by default. To display a custom
// dialog return true and execute |callback| either inline or at a later time.
// To display the default dialog return false.
///