delphi When Caption clicks on an event, only the value of the last entry is displayed

Updated on technology 2024-06-15
14 answers
  1. Anonymous users2024-02-12

    procedure : tobject);

    var sp : tstringlist;

    str :string;

    y :integer;

    Refresh the next window here.

    sleep(2000);

    end;

  2. Anonymous users2024-02-11

    Store the queried records in the RecordSet, and then use a timer timer to execute MoveNext on the RecordSet at certain intervals, and then read the record information and display it on the label.

  3. Anonymous users2024-02-10

    This can be achieved with a timer, if not thenbegin in the ontimer event

    end;

  4. Anonymous users2024-02-09

    If the amount of data is small, you can extract the data all at once and put it into a text or listview control, and in the timer control, set the interval time, and display it line by line.

  5. Anonymous users2024-02-08

    It is recommended to use a timer control to control the pointer of record.

  6. Anonymous users2024-02-07

    procedure : tobject);

    beginwith adoquery1 do

    beginwith adoquery1 do

    Begin questions').asstring);

    'Option A').asstring;

    'Option B').asstring;

    'Option C').asstring;

    'Option D').asstring;

    'Option e').asstring;

    next;end;

    end;

  7. Anonymous users2024-02-06

    Take a look at the run in the event.

  8. Anonymous users2024-02-05

    The easiest way to do this is to add a ttimer component, set the interval value to 1, and then write the ontimer to let the Wu Dai Qin clear code:

    procedure : tobject);

    Begin to be a slippery notice of the link to the web page.

    false;

    end;

  9. Anonymous users2024-02-04

    In the onshow event of the main window, just write the ** displayed by the web page.

    Addendum: Then you make a separate thread for the web page display statement.

    So that they don't interfere with each other.

  10. Anonymous users2024-02-03

    You try to write the ** displayed by the web page in the activate event in the main window.

  11. Anonymous users2024-02-02

    Just set the onclick event to the same. For example, the click event of button1 is button1click, and the onclick in the pop-up menu is also set to button1click.

  12. Anonymous users2024-02-01

    In the case of object event management, you can set the function corresponding to the onchange of the button to set the click event in the pop-up menu.

    It can also be set in the program.

  13. Anonymous users2024-01-31

    Suppose button event.

    procedure :tobject);

    beginshowmessage('hello world');

    end;This is used in menu click events:

    procedure :tobject);

    beginbutton1click(sender);

    end;The second method is to make the events to be done in the button into a function, and call each function separately!

  14. Anonymous users2024-01-30

    I'm not adding ** to the button,I'm saying adding ** to the menu is like the main menu of QQ,On the far left of the menu**,On the top and netizens said to use xpmenu control,Is it the internal control of delphi,Why didn't I find it?

Related questions
11 answers2024-06-15

bool boo = false;

private void button1_click(object sender, eventargs e) >>>More

11 answers2024-06-15

Isn't it, you don't know that C has a built-in system sound? >>>More

14 answers2024-06-15

Delphi is a complete visual programming, belongs to a high-level language, the main feature is that it is more convenient to program databases, and the development speed is very fast, and C++, belongs to the high-level language and the underlying language, the main direction is games, embedded, of course, many large software is also developed with C++... >>>More

2 answers2024-06-15

The void ziq() part doesn't say anything Sark, just turn it around. >>>More

17 answers2024-06-15

form1**:

using system; >>>More