[Date Prev][Date
Next][Thread Prev][Thread Next][Date
Index][Thread Index]
RE: OT: bit of VB help anyone?
- To: <ukha_d@xxxxxxx>
- Subject: RE: OT: bit of VB help anyone?
- From: "Doogie Brodie" <doogiebrodie@xxxxxxx>
- Date: Mon, 18 Jun 2001 14:16:28 +0100
- Delivered-to: rich@xxxxxxx
- Delivered-to: mailing list ukha_d@xxxxxxx
- Mailing-list: list ukha_d@xxxxxxx; contact
ukha_d-owner@xxxxxxx
- Reply-to: ukha_d@xxxxxxx
> I was almost there - I had: dir2.path=dir1.path(dir1.listidex)
Yeah, I tried that first ;->
> No, I don't want the dir1.path to change, I just want to be able to
> highlight any directory (with 1 click) and then display that
> directory in
> dir2
No probs
> OK, but I plan on not using the change event, so there won't
> be any code
> there...
Cool.... don't know if you want to do something on the change event of dir1
to set it back to your home MP3 directory.....? eg:-
Const strDefaultPath As String = "c:\mp3\"
Private Sub Form_Load()
Dir1.Path = strDefaultPath
Dir2.Path = strDefaultPath
End Sub
Private Sub Dir1_Click()
Dir2.Path = Dir1.List(Dir1.ListIndex)
End Sub
Private Sub Dir1_Change()
Dir1.Path = strDefaultPath
Dir2.Path = strDefaultPath
End Sub
This means that although the control will allow you to navigate away from
your root directory by double clicking, the change event will always set it
back to default ;->
Cheers
Doogie
____________________________________
Automated Home UK
http://www.automatedhome.co.uk
____________________________________
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Home |
Main Index |
Thread Index
|