mitchenall.com - The Database & Web Enabling Company  
Services Products Resources Contacts
* Consultancy
* Training
* Bespoke Development
* Web Development and Hosting
-> 4D Freeware
* Articles & Tutorials
* External Links
* Site Index
* Recommended Reading
* @mitchenall.com
* Feedback

> Home > Products > 4D Freeware

Products4th Dimension

Rollover Component version 1.1

Since 4th Dimension 6.5, picture buttons can be used as rollover buttons, but creating the pictures needed can be an arduous task. Four frames are needed in each image, and if pictures ever need changing, it can be extremely annoying. If the rollovers contain text as well as or instead of an icon, it can be even more difficult as multiple versions of each picture must be created for each language the application supports. Changing the font of the buttons means recreating all of them.

Using the picture operators in 4D it is possible to create pictures dynamically, and using Jean-Pierre Ribreau's Text2Pict routine, Tony Pollard's (of Another Dimension) incredible PICT manipulation routines and the free TextProperties plug-in from Zanzarita it is possible to create fairly attractive rollover buttons with minimal effort.

Workshop Screenshot

This open-source component allows developers to dynamically create rollover buttons for their applications, which are then stored in a RAM cache so that reusing them is fast, but so that they're also garbage collected if they don't get used a lot. Only the icon needs to be provided

The component only contains code. A dialog for experimenting with the module parameters and the sample images are shipped in a separate 4D Insider library and in the demo database.

Documentation

Most of the documentation for this component is currently contained in the component itself in the method comments. Full documentation should be produced at a later stage.

Download

Rollover Component, Source Code and Demo
rollover110.sit.bin MacBinary 196 k
rollover110.sit.hqx BinHex 266 k
rollover110.zip ZIP 210 k

Planet 4D

A complete article about creating rollovers in 4D has been published in issue #1 of the popular magazine for 4D developers, Planet 4D.


 
Related Links
Another Dimension Ltd
Expert UK based 4D developers with additional expertise in high-end 2D and 3D image manipulation, including PICT manipulation with native 4D code.
   

Other 4D Freeware Products
Expat4D
Expat4D is a 4D plug-in version of the popular XML parser expat by James Clark. Like expat, it is a completely, freeware, open-source project. XML documents of any size can be parsed from text and BLOB variables, including parsing in 32k chunks.
 
preg Module
A 4D component which works with QFree 2.0 to provide a set of routines similar to the Perl Compatible Regular Expressions in PHP.
 
Progress Bar Component
A simple 4D component for creating progress bars which appear in the same window.
 
Toolbar Component
This component allows developers to easily add toolbars containing rollover buttons, popups and vertical separator lines to their input and output forms in 4D, to give a more Office 2001 effect. Available for 6.7.x and 6.8.x on MacOS 9.2, X and Windows.
 
Process Component
Re-use 4D processes easily with this simple component.
 
Hierarchical List Component
A 4D component contains a selection of routines to aid in manipulating hierarchical lists with some additional debugging aids.
 
Email Formatter
A structure file written using 4D 6.5 and 4D Write 6.5 for formatting plain-text email messages in a 4D Write area so that the quoted text can be coloured and the hyperlinks clicked on to open the browser or new email message.
 
MethodHeader
A simple utility for 4D developers to allow easy pasting of regularly used code and comments in 4D methods, e.g. standard form events, triggers, etc.
 

> Home > Products > 4D Freeware

 
4D Solutions Partner Logo

Last modified: 07 August 2002 by webmaster@mitchenall.com

[Home]
[Services]
[Products]
-> 4D Freeware
[Resources]
[Contacts]
 
Toolbar Component Valid HTML 4.01!
© mitchenall.com
1999-2002
Valid CSS!