I have a label control lblLocked, and 5 comboboxes.
These comboboxes serve as a search functions by limiting values in each other based on user's selection.
On each combobox there is an After Update event set which checks if ListCount property on each of these combobxes equals to 1.
If the condition is true, than I want lblLocked which is by defualt invisible to flash 2-3 times and then stop, just making it visible.
How can I do this?
I've been searching on the internet and I've ran on TimeInterval property and On Timer event, and although I was trying something, I couldn't figure it out how they can help me, as the code on form's On Timer event code is being executed constantly, based on Time Interval property.
This is basically the algorithm that I need:
Expand|Select|Wrap|Line Numbers
- If Form_frmMain.cbo1.ListCount = 1 and Form_frmmain.cbo2.ListCount = 1 and.... Then
- HOLD NEXT LINE FOR ONE SECOND
- Form_frmMain.TimerInterval = 200
- AFTER ONE SECOND DO THIS
- Form_frmMain.TimerInterval = 0
- Form_frmMain.lblLocked.Visible = True
- End If