The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[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 13:00:45 +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


> Trouble is, I can't figure out what syntax to use in the
> "click" event on
> the first listbox to make the clicked directory become the
> path of the 2nd
> listbox...

What you want (assuming Dir1 is your first and Dir2 is your second) is:-

Dir2.Path=Dir1.list(Dir1.listindex)

Obviously if you also wanted to change Dir1's path to the clicked folder
without using a double click,

Dir1.Path=Dir1.list(Dir1.listindex)

Note - setting the path via code will make the change event fire.

Hope That Helps

(if not, shout!)

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

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.