Tag:Textbox

  • Implement a calendar component from zero

    Time:2020-4-18

    1、 Introduction to calendar components The calendar component consists of aText input boxComposition, click the text input box and it will be displayed below the text boxCalendar panelThe calendar panel consists of three parts:Head region(it mainly displays the month and year corresponding to the face-to-face calendar panel and the up and down buttons of four […]

  • Use the placeholder property to set the prompt for the input text box

    Time:2020-4-17

    Example Search field with placeholder text: <form action=”demo_form.asp” method=”get”> <input type=”search” name=”user_search” placeholder=”Search W3School” /> <input type=”submit” /> </form> Definition and Usage The placeholder property provides a hint that describes the expected value of the input field. The prompt is displayed when the input field is empty and disappears when the field gets focus. Note: […]

  • Android studio learning notes (3): simple controls and examples

    Time:2020-4-14

    This paper gives a brief description of common controls (textview, button, EditText, RadioButton, checkbox, ImageView) Concept Differentiation of control, component and plug-in When it comes to controls, we have to distinguish some concepts. Controls: components used in programming Components: components of software Plug in: a component in an application that has an interface reserved Here […]

  • The method of changing the length of an input text box according to its content

    Time:2020-4-9

    First: Copy code The code is as follows: <input type=”text” onkeydown=”this.onkeyup();” onkeyup=”this.size=(this.value.length>4?this.value.length:4);” size=”4″> Where size = “4” is to define the initial size. If it is not defined here, then this. Size = (this. Value. Length > 4? This. Value. Length: 4); the 4 in it is changed to 20, and the default size of […]

  • Rotate table 180 ° in world document

    Time:2020-3-25

    A good friend called me and said that he was baffled by a WPS operation. He is inseparable from WPS all the year round. You can’t make sure. I don’t use it very much. After listening to what he said, I can understand the effect he wants. Look at the map: In fact, there is […]

  • JS advanced case: strength of password verification

    Time:2020-3-21

    Case: verify the strength of the password   1. Give me the password and I will return to the corresponding level 2. Each time the keyboard is raised, the content in the text box should be obtained. Verify what is in the text box and get a level. Then the div below will display the […]

  • JS advanced – Case: verify whether the user input the mailbox or not

    Time:2020-3-20

    Case: verify whether the user has entered a mailbox   title Please enter email address:* < span style = “background color:” f5f5f5; color: “008000;” ></span> < span style = “background color:” f5f5f5; color: “008000;” ></span> <span style=”background-color: #f5f5f5; color: #000000;”> document.getElementById(</span><span style=”background-color: #f5f5f5; color: #000000;”>”</span><span style=”background-color: #f5f5f5; color: #000000;”>email</span><span style=”background-color: #f5f5f5; color: #000000;”>”</span><span style=”background-color: #f5f5f5; […]

  • JS advanced – Case: validation form

    Time:2020-3-17

    Case: validation form   Document <span style=”background-color: #f5f5f5; color: #800000;”> body </span><span style=”background-color: #f5f5f5; color: #000000;”>{</span><span style=”background-color: #f5f5f5; color: #ff0000;”> background</span><span style=”background-color: #f5f5f5; color: #000000;”>:</span><span style=”background-color: #f5f5f5; color: #0000ff;”> #ccc</span><span style=”background-color: #f5f5f5; color: #000000;”>;</span> <span style=”background-color: #f5f5f5; color: #000000;”>}</span><span style=”background-color: #f5f5f5; color: #800000;”> label </span><span style=”background-color: #f5f5f5; color: #000000;”>{</span><span style=”background-color: #f5f5f5; color: #ff0000;”> width</span><span style=”background-color: […]

  • Python fast advanced 6-the same project code, how to package 32-bit and 64 bit applications

    Time:2020-3-10

    Because the python applications we distribute may run in 64 bit or 32-bit environments, we need to configure two packaging environments for the same set of application code. How to configure them? Steps are as follows 1. Download and install 32-bit and 64 bit Python on the computer, and select “add Python to path” during […]

  • Four features of the industrial Internet platform of ineuos developed by.net core are upgraded: configuration data interface, element binding data, early warning configuration and custom menu

    Time:2020-2-28

    Catalogue 1. Overview… 2 2. Presentation information… 2 3. Ineuview configuration data interface… 2 4. Ineuview element binding data… 4 5. Ineuview element and text box configuration alert… 5 6. Customize the right-click menu for ineuview elements and text boxes… 6  1. Overview 2019 is coming to an end. We have laid a foundation for […]

  • Electronic chat room | Vue + electronic Vue imitating wechat client | electronic desktop chat

    Time:2020-2-20

    1、 Project overview Based on the technology of electron + Vue + electron Vue + vuex + nodejs + vuevideoplayer + electron builder, the example of chat room with wechat computer interface is imitated to realize the functions of message sending / dynamic expression, picture / video preview, dragging picture / pasting screenshot sending, friend […]

  • How to adjust scroll bar to the end of text in VB6.0 text box?

    Time:2020-2-15

    In VB, you can add scrollbars to text boxes, but by default, scrollbars need to be manually operated by the user. For the scroll bar that dynamically adds content, we often want to be able to automatically adjust the scroll bar to the end of the text to facilitate the observation of new text content. […]