开发者

how to check if a combobox is empty without setfocus?

开发者 https://www.devze.com 2022-12-31 12:08 出处:网络
i need to know if any text has been entered into a combobox if i do: If comboReason1.Value <> \"\" Then

i need to know if any text has been entered into a combobox

if i do:

If comboReason1.Value <> "" Then

it gives me an error, and if i do:

If comboReason1.Value <> Null then

this doesn't开发者_如何学Python work.

how do i check whether text has been entered into the combobox?


If IsNull(comboReason1.Value) then


I am not in a position test this quickly, but try

if comboReason1.Text<>"" then
0

精彩评论

暂无评论...
验证码 换一张
取 消