Moving around on items in a ListView using CTRL-UP/DOWN normally displays a banded rectangle around the item. I can't figure out how to enable this in VB 2005.
Currently I only see the blue bounding box around items.
Whatever you do will be insignificant, but it is very important that you do...
VS dotnet 2003 :(
Whatever you do will be insignificant, but it is very important that you do it. (Mahatma Gandhi)
http://www.jeeval.nl
http://www.Logic-Q.nl
Property 'FocusedItem' is 'ReadOnly'
Whatever you do will be insignificant, but it is very important that you do it. (Mahatma Gandhi)
http://www.jeeval.nl
http://www.Logic-Q.nl
The selection anchor in a listview is not resetted when SelectedItems.Clear is called.
Place a ListView with a few items on a from. Next, set ListView.View = "Details". Add a button and add the folowing codePrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)...
He Thanks. This works within the same class.
However, I want to raise TextBox1_KeyDown event from a different class. I can make the event public but since it's an event I don't think its the proper way to do it.
Any suggestions here?
Whatever you do will be insignificant, but it is very...
I want to raise a keydown event from within a function. How do I do that?
Regards,
Hansa
Whatever you do will be insignificant, but it is very important that you do it. (Mahatma Gandhi)
http://www.jeeval.nl
http://www.Logic-Q.nl
Yep.. Commandline tools since they are so easy and flexible in use. Perhaps my UNIX background has something to with it and maybe that too has something to do with cleaning up my own stuff instead of letting the garbage collector decide (no offence Prattaratt) :)
Salem, from the VC++ forum had...
Now... Thats what I was looking for! Thank you verry much Salem.
Whatever you do will be insignificant, but it is very important that you do it.
(Mahatma Gandhi) http://www.jeeval.nl
Thanks Salem, that works for one case namely CTRL+C.
But what to do when pressing the X on the windows console?
Whatever you do will be insignificant, but it is very important that you do it.
(Mahatma Gandhi) http://www.jeeval.nl
I'm having memory leaks. I've posted my problem in the Builder forum but I think this also applies to MS VC++. Maybe someone here can have a look at it.
http://www.tek-tips.com/viewthread.cfm?qid=1313233&page=1
Tnx..
Whatever you do will be insignificant, but it is very important that you do...
Borlands documentation (ref: abort) says:If you call abort anywhere in a program, no destructors are called, not even for variables with a global scope.Somehow no exception is thrown when pressing CTRL+C and thus exception handlers do not apply.
So my thought was that CTR+C (or pressing the...
Ok. I did the folowing:
#include <stdlib.h>
void destruct_main(void)
{
delete clss;
}
main ()
{
MyClass *clss = new MyClass;
atexit(destruct_main);
//.. some code ..//
delete clss;
}Hitting CTR+C doesn't execute destruct_main.
The funny thing is that when I use MyClass in a local...
Please consider the folowing:
main ()
{
MyClass *clss = new MyClass;
//.. some code ..//
delete clss;
}When the programm runs and CTRL+C is pressed, clss is not deleted thus creating a leak.
How can I avoid this? I tried 'try' and 'catch' but that doesn't seem to work.
Whatever you do...
A long time ago I needed a component which was capable of adding columns and items in a listview. Then Lord Borland presented me the TListView component with which I could add columns and items as much as I liked. I could even add subitems and the world became a beautiful place.
I then got the...
Why not use ODBC?
A driver for MySQL can be downloaded from www.mysql.com
This way you can also access other DB's beside mysql. I recently wrote a simple howto here: http://www.tek-tips.com/viewthread.cfm?SQID=843824&SPID=101&page=1
check it out it's pretty straight forward.
The error you get...
Hi,
I'm trying to change the rowlines color in the TDBGrid object.
I've already tried to use the OnDrawColumnCell prop. But than I can only change datacells, not the fixed ones. What I would like is a datagrid without the gray lines around the cells. But I do want the fixed cels (1st row) to...
Hi,
I'm trying to change the rowlines color in the TDBGrid object.
I've already tried to use the OnDrawColumnCell prop. But than I can only change datacells, not the fixed ones. What I would like is a datagrid without the gray lines around the cells. But I do want the fixed cels (1st row) to...
Thats a possibility, but a better way would be to let your users choose their own database file. Now ODBC's DSN becomes unusable because you want a dynamic databaseconnection.
Take into account that Access and Excel databases are file-databases when you need to change database connections often...
I Don't know exactly what you mean but you can edit the xls/mdb files from within your application aswell as in Access or Excel. If your application can edit contents in a table (i.e. writing to a table) it would be a good idea to lock the file for writing by other apps. You can do this in the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.