Vista has a new kind of control named CommandLink which behaves like a standar button, but enhances the user experience.
Look at the screenshot:
The control shows an image, a main text and a brief description of the action.
To understand how ity works we can see the source code to create the second button on the image above:
WITH OBJECT TCommandLink():New( oForm ) :cText := "CommandLink" :cNote := "This is the new TCommandLink control" :lShield := .T. :Create() END
The file vistacommandlink.zip
has all the control source code. Just compile it and add the OBJ to any project where you want to use it.
Haven’t tested yet, but I assume it obly works with Vista
Yes, I’m affraid it’s so.
I thought about write this control for other platforms too but I will wait some months until fully sure there are no “drastic” changes on Vista.
That will certainly be appreciated!