B
Bill Mitchell
Hi,
Ever wish your combo box drop lists could have all the formatting (fonts,
colors, etc) that you would find on a pop-up form?
Well, actually it's easy to do. Honestly, a droplist for a combo box really
is just a borderless pop-up form that appears beneath your combo control when
you click it.
So, how about just creating a bordeless pop-up form that will return the
records from your query, position it wherever you want on your form using the
GetCursorPos() API call, and then make it go away (and take some action) once
you have selected a record?
Would work just like a combo except have more formatting possibilities.
Anyway, just an idea
Mitchell
P.S., I use this technique all the time to create very detailed and
customizeable 'tooltips' and 'drag n' drop' icons on my database.
The entire code to make it all work is like half a page long and appears
seamless.
Ever wish your combo box drop lists could have all the formatting (fonts,
colors, etc) that you would find on a pop-up form?
Well, actually it's easy to do. Honestly, a droplist for a combo box really
is just a borderless pop-up form that appears beneath your combo control when
you click it.
So, how about just creating a bordeless pop-up form that will return the
records from your query, position it wherever you want on your form using the
GetCursorPos() API call, and then make it go away (and take some action) once
you have selected a record?
Would work just like a combo except have more formatting possibilities.
Anyway, just an idea
Mitchell
P.S., I use this technique all the time to create very detailed and
customizeable 'tooltips' and 'drag n' drop' icons on my database.
The entire code to make it all work is like half a page long and appears
seamless.