A few questions about the events in the VFP.

Updated on society 2024-05-15
8 answers
  1. Anonymous users2024-02-10

    It is true that after the load event, the load event occurs first when the form is loaded, then the load, and the init event occurs when the load event occurs, so the form is not loaded when the load event occurs, so the parameters cannot be passed to the form; However, the init event occurs when the form is loaded, so parameters can be passed to the form.

    This occurs before the unload event, which is the last event that is triggered when the form is released. Forms also have destroy events, the purpose of which is to invalidate the object (which you can also think of as closing the object), and the order in which these events occur can be expressed as follows:

    Form destroy event (invalidate form) - > destroy event for each object in the form (invalidate each object on the form) - > form unload event (release form).

    3.You've got the idea. All classes must be loaded in order to be used, then there is an init event that occurs when loading, otherwise this class has no meaning to exist!

  2. Anonymous users2024-02-09

    1.You're right, init happens after load.

    Before unloading. Controls and forms have destories.

    All classes have init, others may not.

  3. Anonymous users2024-02-08

    1. All property events are the basis of VFP programming!!

    The reason why VFP has a variety of attribute events is that there are different programming needs, and it is necessary to clarify the role of each attribute event and the programming needs before we know what attribute events should be used.

    Let's talk about the two events you mentioned, "init" occurs when an object is created, and "click" occurs when the mouse button is pressed and released.

    For example, if you want Form 1 to run with a red background, then click the mouse button on Form 1 and the background will turn black.

    Just add ",0,0)" to the "init" event in form 1 and ",0,0)" to the "click" event.

    When Form 1 (form1) is run (created), the form background changes to red when the "init" event is triggered, and when the mouse button is clicked (press and release the mouse button) on Form 1 (form1), the "0,0) statement added in the "click" event is triggered, and the form background turns black.

    Different property events have different uses, and how to use them is not clear in a few words, mainly depending on your programming needs.

  4. Anonymous users2024-02-07

    init is an initialization event, which is used to set the environmental conditions for entering a certain operation interface, which is just an event that is executed when entering this interface or activating a certain interface.

    The click event is a mouse "click" event, and it will be executed once when you click it!

  5. Anonymous users2024-02-06

    Any product has a lifespan, and we can use it even if Microsoft no longer supports it.

  6. Anonymous users2024-02-05

    The correct output result is indeed 2, and the detailed analysis is marked on the figure.

  7. Anonymous users2024-02-04

    The answer to this question will always be C, and there are actually spaces there. "Li Tong attendance".

    Note: You do not give the width of the name field, usually choose (c, 6) three points in this question:

    1。You'll want to figure out what the current record name value is"Li Tong", followed by two more spaces.

    2。The "name" to the right of the = sign in this command refers to the value of the field variable. The Name on the left is the value of the memory variable name.

    3。The "-" operation of strings is to move the space at the end of the first string to the end of the second string, and then join them into a string in order.

  8. Anonymous users2024-02-03

    Field assignments can't be marked with equal signs.

    Change the sub xm = name -"Attendance"

    XM Display: C"Li Tong attendance".

    Because the minus sign is a character hyphenic number, when used, the character in front of the minus sign will be connected to the character on the right side of the minus sign after removing the space behind it.

Related questions
5 answers2024-05-15

That's 20 points for so many questions, that's too little.

24 answers2024-05-15

At that time. tbc

Orcs are Thrall, Night Elves are Deerhelm and Tyrande, Humans are Stormwind Regent and Black Dragon Princess, Burning Legion is Egg, Undead Scourge is Lychee King, Forgotten is Queen Sylvanas. >>>More

6 answers2024-05-15

First of all, the fourth generation is Naruto's father, Jiraiya himself said it, his mother is called Uzumaki Qina, and his father (four generations) is called Bo Feng Shuimen. As for the surname, in fact, no one stipulates that it must be the father's surname, and another reason may be to protect Naruto and hide the background of celebrities, whether it is for Naruto himself or for Konoha, it has a certain protective effect. >>>More

11 answers2024-05-15

Categories: Entertainment >> Anime.

Problem description: A man (male) who is good at instant serving in the Ice Emperor Academy >>>More

14 answers2024-05-15

2) Blue.

nacl,hcl >>>More