How does Easy Language replace component names with variables?

Updated on technology 2024-05-14
7 answers
  1. Anonymous users2024-02-10

    Hello, this problem is easy to solve.

    There are several ways to replace component names with variables, but I'll give you two of them.

    1. The method of using component tags.

    2. The method of assigning components using variables.

    Assembly Variable Set Marker Value, Integer, , by:kiss灬小pig(junko).

    The subroutine Startup Window is created.

    Set the mark value is 100'This is the marking method.

    Box 1Tag to text (set tag numeric value).'This is the marking method.

    Subroutine button 1 is clicked.

    Local Variables Variable box, box, This is the labeling method.

    Variable Box Box 1Take the tag component (set tag numeric value).'This is the marking method.

    Variable box. Background color: Black'This is the marking method.

    Subroutine button 2 is clicked.

    Local Variables Variables Box 2, Box 2, , This is the assignment method.

    Variables Box 2 Box 1'This is the assignment method.

    Variables Box 2Background color: Red'This is the assignment method.

    Hope mine helps you! BY: kiss 灬小pig (Junko).

  2. Anonymous users2024-02-09

    Let's take an example of a box component.

    1. Mark your box as 1, 2, 3 first....

    2. Define a variable b, of type box.

    Define another variable i, of type integer.

    3,**。The first (5,i) of the counting cycle

    b = tag component (i).

    b.content="Yunnan".

    Record the end of the loop.

    This example is to write the content of the 5 boxes as "Yunnan". The first thing is to mark up the box, and the second is to define the box object.

    This method also works for other components, such as using a variable to represent a label, and defining b as a label object.

  3. Anonymous users2024-02-08

    Mark boxes 1 through 5

    Variable. Box.

    i Integer.

    The first (5,i) of the counting cycle

    Box = Take Tag Component (i).

    Write the configuration item (take the running directory () + ,1, to the text (i), box. contents) counts the end of the cycle.

  4. Anonymous users2024-02-07

    1. Create a new easy language.

    Windows Windower.

    3. At this time, two local variables will be used, defined as variable 1 and variable 2, press Ctrl+L to pop up the local variable table (or click Insert on the menu bar to select local variables), as shown in the figure.

    4. Click the box below the variable name, enter variable 1, click the type, press the space bar, and the following menu will pop up:

    Select the decimal type. Again, add variable 2.

    5. Again, global variables.

    It's the same, just a shortcut.

    Ctrl+G, note that you need to insert variables into the window assembly.

  5. Anonymous users2024-02-06

    Place a box in the window called "Box 1".

    Define two variables, "i" is an integer, "My box" is a box, and the array value is 20 Assembly variable i, integer.

    Assembly variables My Box, Box, ,"20"

    The subroutine Startup Window is created.

    Count the first cycle (20, i).

    Duplicate the window component (Box 1, My Box [i]).

    My box [i].Box 1 on the leftLeft i 1) 4) 43

    My box [i].Top border 1Top edge i 1) 4) 34

    My box [i].Visual.

    My box [i].Mark to text (i).

    Counting cycle tail ().

    Available in My Content My Box [2].Content.

    Use the control's focusable method to get the box you are currently using:

    The contents of Box 1 of the subroutine are changed.

    Count the first cycle (20, i).

    If true (my box [i].).Can have focal point ().

    Output debug text (my box [i].).tag).

    If it's really over.

    Counting cycle tail ().

  6. Anonymous users2024-02-05

    Set these boxes to a tag from 1 n in the properties, then define a variable of type "box", assign: box to tag component (i), and then: my content box. Content.

  7. Anonymous users2024-02-04

    You can use Find Component() to find the box.

    Find the number of components () in the number of boxes that are used.

    Finally, use the found component ().

Related questions
2 answers2024-05-14

Yi Language is a self-developed Chinese programming language that is suitable for national conditions and is easy to learn and use for people of different levels and professions. Easy Language lowers the threshold for the majority of computer users to program, especially users who do not know English at all or have little understanding of English, can enter the door of Windows programming extremely quickly by using this language. Yi Language Chinese Programming Environment is a programming tool environment that supports programming based on Chinese characters and words, fully visualized, and cross-mainstream operating system platforms. Available in simplified and traditional Chinese, English, Japanese and other languages; Able to call to and from commonly used programming languages; It has interfaces and supporting tools that make full use of various resources such as API, COM, DLL, OCX components, various mainstream databases, and various utilities. >>>More

19 answers2024-05-14

The main building is to supplement the computer knowledge, the text type () is just text, and it is impossible to store any information about the color and size of the text. That is, the text of the infobox cannot be changed in its "style". Your so-called font size, font color, and tilt only exist in window controls such as boxes and labels, so you might as well use the "font" class. >>>More

9 answers2024-05-14

Chemistry and physics are two different disciplines that have different objects and methods of study. However, combining chemistry and physics can produce some uncomfortable swearing. >>>More

19 answers2024-05-14

Please first ** "vc6 mini linker" and copy the "vc98linker" folder to the root directory of easy language. Then find the file "Easy Language and the directory vc98linker and open it, run it and click Modify, you can use static compilation.

7 answers2024-05-14

1) Example: This is a picture titled "Happy Birthday, Grandpa, make a wish!" "Comics: >>>More