| |

VerySource

 Forgot password?
 Register
Search
View: 823|Reply: 2

Ask the simplest small question ~~~

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-4 17:20:01
| Show all posts |Read mode
Application.MessageBox ('aaa', myLabel.Caption, 0); How can this be wrong?

Isn't Caption a string? How can I use Caption as a string?
Reply

Use magic Report

0

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-1-4 17:33:01
| Show all posts
Application.MessageBox ('aaa', PChar (myLabel.Caption), 0);
Reply

Use magic Report

0

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-9-2 11:30:01
| Show all posts
Dialog prompt message [Test]
Application.MessageBox('aaa',PChar(Label1.Caption),0);
Application.MessageBox('aaa',PChar(Label1.Caption),1); There are two selection boxes
Application.MessageBox('aaa',PChar(Label1.Caption),2); There are three selection boxes Terminate retry ignore No close
Application.MessageBox('aaa',PChar(Label1.Caption),3); There are three selection boxes Yes No Cancel Closed
Application.MessageBox('aaa',PChar(Label1.Caption),4); There are two selection boxes Yes No No close
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list