IonicWind Software

IWBasic => General Questions => Topic started by: Brian on March 19, 2012, 01:09:29 PM

Title: How do I do this?
Post by: Brian on March 19, 2012, 01:09:29 PM
Hi,

I was messing with the idea of writing a Database Creator, and this is a part of the
program I was working on

What I need (want) it to do is when it fills the listbox with the list of available drivers, as
you cursor down the list, it puts a copy of the line you are on in the edit box at the bottom
of the screen. This is so it can be edited to create exactly the string you need to
open / create a database, before you press the OK button. I'm stuck!

Any ideas?

Brian
Title: Re: How do I do this?
Post by: Bruce Peaslee on March 19, 2012, 04:07:02 PM
This works. You need to add @CTLISTNOTIFY to the List Box and trap @LBNSELCHANGE.
Title: Re: How do I do this?
Post by: Brian on March 20, 2012, 03:19:00 AM
Bruce,

Thanks for the reply - @CTLISTNOTIFY made perfect sense, I had just forgotten all about it!

Many thanks,

Brian