Is there some property like "Vcl.Forms.TForm.AutoScroll = true"
Indicates whether scroll bars appear automatically on the scrolling windowed control if it is not large enough to display all of its controls.
If AutoScroll is true, the scroll bars appear automatically when necessary. For example, if the user resizes the control so that some of its controls are partially obscured, scroll bars appear.
If AutoScroll is false, scroll bars don't appear automatically. In this case, use the HorzScrollBar and VertScrollBar properties to make scroll bars appear.
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
try say what is the size (width x height) to your "video" on URL.
the scrollbars will be created by WebBrowser, not for your forms!
then, if you URL content is bigger than WebBrowswer size, the scrollbox will be created because the content is bigger than space to show it.
You see?
in past, some used this: but does not works any more in current webbrowser.
procedure TForm1.WebBrowser1DocumentComplete(ASender: TObject; const pDisp: IDispatch; const URL: OleVariant); begin while WebBrowser1.ReadyState <> READYSTATE_COMPLETE do Application.ProcessMessages; // // changing source-code on HTML WebBrowser1.OleObject.Document.Body.Style.OverFlowX := 'hidden'; WebBrowser1.OleObject.Document.Body.Style.OverFlowY := 'hidden'; end;
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3