Scycler learning logs-. Net language APP development platform: how to load web pages in webview, scyclerwebview

Source: Internet
Author: User

Scycler learning logs-. Net language APP development platform: how to load web pages in webview, scyclerwebview
First, scycler is a development platform that uses the. Net language to develop apps in the VS environment. I. Target Style

The following operations are required to achieve the effect:

1. Drag a WebView control, a Button control, and a TextBox Control from "scycler Components" on the toolbar to the form interface. 2. Modify the. Location attribute of the Button.

Display the control in the appropriate position (99, 1), 1;

B. Text attributes

Set the button text to "go", 2;

C. Size attribute

Set the width and height of the control to (18, 12) and 3;

Figure 1 Figure 2 Figure 3
D. Button Click event
VB:    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click       webView1.Url = textBox1.Text.ToString()   End Sub
C#:   private void button1_Click(object sender, EventArgs e)   {       webView1.Url = textBox1.Text.ToString();   }
3. Modify the. Location attribute of the TextBox Control.

Display the control in the appropriate position (11, 1), 1;

B. WaterMarkText attributes

Set the text box watermark, set this attribute to "search or enter the URL", 2;

C. Size attribute

Set the width and height of the control to (88, 12) and 3;

Figure 1 Figure 2 Figure 3
4. Modify the attributes of the WebView control.

Display the control in the appropriate positions (0, 16), 1;

B. Size attribute

Set the width and height of the control to (120,184), 2;

Figure 1 Figure 2
5. s0000er Form Design Interface display effect 2. Mobile phone display
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.