>>Michel Traisnel: The new drag'n'drop for table name from ObjectViewer is very useful. It should works the same for indexes (for unique indexes it can help in writing joins)
Logged In: YES user_id=747155
CTreeViewer::OnBeginDrag() I found also small bug inside my code - when dragging indexes nothing was copied to editor.
I've added additional behaviours: - we could also drag Indexes&Constraints, - if we push ALT key and next drag item nothing is expanded.
How it works: - if you drag Table normally you'll get columns list - if you push ALT & drag Table you'll get table name
Summary: - we could drag&expand Tables/Views/Indexes/Constraints, - ALT causes nothing to be expanded.
Log in to post a comment.
Logged In: YES
user_id=747155
CTreeViewer::OnBeginDrag()
I found also small bug inside my code - when dragging
indexes nothing was copied to editor.
I've added additional behaviours:
- we could also drag Indexes&Constraints,
- if we push ALT key and next drag item nothing is expanded.
How it works:
- if you drag Table normally you'll get columns list
- if you push ALT & drag Table you'll get table name
Summary:
- we could drag&expand Tables/Views/Indexes/Constraints,
- ALT causes nothing to be expanded.