D
D
Detect FlexGrid Column Resize
Here's one way of detecting when a user resizes a Flexgrid column.
The updated example shows one way of preventing specific columns from being resized.
Detect Idle and App Auto Shut down
This comes up once in a while in the newsgroups.
I thought I'd provide a bit of code I've used in a few projects.
This code will shut down your app after sitting idle for 10 seconds.
I set it to a short time period for testing purposes but it's very easy to adjust this timeout.
The project is an MDI project but the same code should work for any Standard EXE project.
Determine if Mouse or Tab key was used to get to a control
This can be handy at times.
If you want to make an app look professional, you have to put a little work into the way textboxes act when they get focus.
If you simply highlight the contents when the box gets focus, your users end up fighting with the mouse.
Most people use the mouse to select just a portion of the text.
This code shows a way to tell whether or not the Tab key was used to get to the box.
Display State of All Keys
This comes up once in a while in the newsgroups.
Since Google Group archives deleted quite a few posts during their BETA, including the one that contained this code, I thought I'd post it here.
Back to Index
A B
C D E
F G h I
j k L M N O
P q R S T
U V w x y z
|