Highlight a File List box from an option box 
Author Message
 Highlight a File List box from an option box

Quote:


>Subject: Re: Highlight a File List box from an option box
>Date: 25 Apr 1995 15:14:11 GMT
>Does anyone know how to update (highlighting) a file list box by
>simply clicking on an option button.  If so can someone please
>provide some sort of code depicting how to:
>Thanks in Advance,


Set the listindex property.

------------------------------------------------------------------------
Chuck Stuart - Mesquite TX USA  
VBTrace 2.00 is a runtime Procedure Trace, XRef,
Debug, Profiler and much more. Shareware $49.
http://www.*-*-*.com/
ftp.apexsc.com/pub/cgvb/coop/cstuart
------------------------------------------------------------------------



Sat, 11 Oct 1997 03:00:00 GMT  
 Highlight a File List box from an option box
Does anyone know how to update (highlighting) a file list box by
simply clicking on an option button.  If so can someone please
provide some sort of code depicting how to:

Thanks in Advance,




Sat, 11 Oct 1997 03:00:00 GMT  
 Highlight a File List box from an option box

Quote:

>Does anyone know how to update (highlighting) a file list box by
>simply clicking on an option button.  If so can someone please
>provide some sort of code depicting how to:

In the option button's Click event you can highlight a particular
item in the file list box by setting the item's entry in the Selected
property array.
     ex: File1.Selected(3) = True
         will highlight the fourth item in the list box File1.

Jason
_______________________________________________________________________
Jason Simmons               Automate VB form creation with VBScript 1.1



Sat, 11 Oct 1997 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Help wanted with file list boxes and list boxes

2. How to tell if files are highlighted in a list box

3. Reading file name from text box and/or File List Box

4. how do I highlight alist box option

5. Adding multiple items from File Box to List box

6. VB6 - file list box / drive box question - resolving network paths and computer names

7. dialog box with list box or combo box

8. Limiting Access to Text Boxes, List Boxes and Combo Boxes

9. How to list macro names in a combo box or a list box

10. list box does not highlight

11. VB List Box Versus Access List Box

12. Q: List Box to List Box Code

 

 
Powered by phpBB® Forum Software