


Remember, web dialogs do not cause your code to wait until the dialog is closed. Create a new Web Dialog called “TestDialog” using the Insert button on the toolbar or the Insert menu.Here is how you can add a dialog to a web page: #Xojo msgbox code#

Or you can drag a “Modal Dialog” from the Library. Add a public property called SelectedButton As WebButton.// Attach the filter graph to the capture graph.Name the buttons “OKButton” and “CancelButton” and change their captions to “OK” and “Cancel” respectively. Graph.AddFilter srcfilter, "Video Capture" 'srcfilter.ShowPropertyDialog 'MsgBox "Result: "+Str(srcfilter.Lasterror)+": "+srcfilter.LasterrorMessage // let's pick a video encoder Use the system device enumerator and class enumerator to find // a video capture/preview device, such as a desktop USB video camera.
