Results 1 to 3 of 3

Thread: WebView in TwinBASIC

  1. #1

    Thread Starter
    Join Date
    Jan 2020

    WebView in TwinBASIC

    How to use a webpage as a software interface to hide the navigation bar at the top of the form.
    I want to make a pure webpage without form frame and put it in WEBVIEW
    Realize dragging the webpage, and the form of the whole program follows the movement?

    I don't know how to close the program by entering a shortcut key?
    Virtual minimize and maximize buttons can also be placed on the webpage.
    Last edited by Shaggy Hiker; Jun 6th, 2023 at 08:29 AM.

  2. #2
    Join Date
    Jul 2010

    Re: twinBASIC programming - Beta releases

    Look at Example 1 in the WebView Samples project (Sample 0 on the New project-Samples menu). If you look at the controls, you see the address bar is just a textbox, the webpage is rendered as view without controls.

    From there you'd just use the normal means of making a borderless, control-less form... form border style = none. Alt+F4 would still close it.

    To control form movement from the webpage is a bit harder; you'd have to switch to a tbShellLib-based solution which has webMessage events and inject a script into each page to relay mouse events.

  3. #3
    Fanatic Member
    Join Date
    Feb 2015

    Re: WebView in TwinBASIC

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width