Link to home
Start Free TrialLog in
Avatar of pratish
pratish

asked on

displaying drop down in a dbgrid control

How do i correctly allign the listbox to show a dropdown in the dbgrid (ButtonClick event)? It is possible to do show it using the Rowheight property but alligning it presicely is a problem. Any suggestions?
Avatar of alesh
alesh

You might find it difficult doing this. I suggest using a 3rd party OCX, like True DBGrid from Apex SC.
You have to take in consideration, what if the user has large fonts display settings and small fonts display settings. Use twixperpixel(x,y).
More I can't think of.

I hope this will help you. I didn't post it as an answer since I do not belive it is!

Alesh
ASKER CERTIFIED SOLUTION
Avatar of vettranger
vettranger

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial