This time Ignacio brings to us a great addition to the IDE which will be ready for the next release: the case matching.
The animated GIF shows this feature: when typing nKey (declared as a formal method parameter) and nIndex (declared as a local variable) in lower case, the IDE itselfs updates the case of the variables, parameters and class members to make them match with its definition.
Several times we have been asked in the forums if there was any way to customize the individual items off a Treeview control.
The only difference of this component with the native Xailer Treeview is that it doesn’t have visual editor for aItems property and must be filled at design time with the context menu or at runtime with one of the following methods:
METHOD AddItem( cItem, xImage, xSelImage, lBold, lChecked, lParam, nClrText, nClrPane ) // --> oItem
METHOD InsertItem( cItem, xImage, xSelImage, lBold, lChecked, lParam, nClrText, nClrPane, nPos ) // --> oItem
As you can see, these methods add two new parameters to set the text and background color of each item and are fully compatible with standard Treeview, allowing the use of images, checkboxes, etc..
The attached ZIP treeviewcolor.zip includes the DLL for the IDE and the library to link to applications.
Due to the changes in last Xailer 2 beta and in xHarbour it is necessary to update the external components that I published in recent weeks.
Following with the publication of new components for Xailer 2, now it’s up to TRoundButton and TRoundGroupBox.
After releasing Xailer 2 with support to build and use external components (see here) I thought about releasing the most of the componets I wrote in the last two years.
After a few weeks of using Xailer 2.0 in production and seeing that a large percentage of users already have updated and we have many others taking advantage of this new version (welcome to all), I have decided to update some libraries that were available only for version 1.9 and earlier.
The following links contains the updated ZIPs and a link to each component that includes a description of the properties, methods and a small example of each one.
GDP, convert between different image formats. Post
Note: This post is in Spanish, will try to publish an English version ASAP.
Following a message from Dionissis in the forum in which he asked the needed to restart a computer from his application I wrote this component. It encapsulates the functionality of Windows to acomplish this task in a simple way and it does the necessary checks to each plaftorm.
Some users need to make some screenshots from his applications so I wrote this little component to make it from Xailer.
While doing some HD cleaning and filing some old Xailer projects I found something I did many time ago.
Hope you like it.
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.
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.