| |

VerySource

 Forgot password?
 Register
Search
View: 1309|Reply: 5

DataCombo After I select, when I press "OK", I hope the value of DataCombo is empty, and DataCombo.Index=-1 will cause

[Copy link]

2

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-12-14 16:00:01
| Show all posts |Read mode
After I select the DataCombo, when I press "OK", I hope the value of the DataCombo is empty, and DataCombo.Index=-1 will cause an error. How to write?
Reply

Use magic Report

0

Threads

14

Posts

13.00

Credits

Newbie

Rank: 1

Credits
13.00

 China

Post time: 2020-12-15 10:15:01
| Show all posts
Either use the API (I don’t know how), or add an Item, the index is 0, and the content is "Please select" and the like
Reply

Use magic Report

2

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-12-17 18:00:01
| Show all posts
DataCombo has no ListIndex property
Reply

Use magic Report

0

Threads

18

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

Post time: 2020-12-18 22:45:01
| Show all posts
DataCombo1.Text = vbNullString
Reply

Use magic Report

2

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-12-19 07:45:01
| Show all posts
I changed the style attribute to 2 and it cannot be modified. And it has been bound to the record set, you cannot change the style attribute
Reply

Use magic Report

0

Threads

14

Posts

13.00

Credits

Newbie

Rank: 1

Credits
13.00

 China

Post time: 2020-12-19 17:45:01
| Show all posts
DataCombo has no ListIndex property
---
Well, I didn’t look at it carefully... I thought you asked about ordinary ComboList... I haven’t used DataCombo before... But it feels like
Just feel
This stuff is a semi-finished product -_-
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