September 27th, 2011, 03:48 PM
Combo box help
Can someone help me?
I have a 3 options Combo Box on My Form.. and below it is Confirm and Cancel Command Button.
I have organize 3 Frames Below.. ALL ARE INVISIBLE MODE..
Here's i want to achieve, After the Selection1 from Combo Box, when user press the Command Button OK, frame1 will be visible.. and frame2 and 3 are still invisible..
and when user select selection2, frame2 will be visible while 1 and 3 are invisible..
Please HELP.. thanx..
September 28th, 2011, 10:34 AM
Re: Combo box help
something on the lines of:
I assume that yuo select from the items in the combo box. So the first item has the Index 0.
Frame1.Visible = (Combo1.Listindex = 0)
Frame2.Visible = (Combo1.ListIndex = 1)
Frame3.Visible = (Combo1.ListIndex = 2)
Frame1 will be set visible when the listindex of the combobox is 0, in fact when the first item is selected, and so on.
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!