Loading a GtkCTree from a XML file using PHP-GTK 1

Submitted by Frederic Marand on Thu, 2003-04-03 00:00

This is a small code example I've done for Riff News to demonstrate how to load data into a PHP-GTK GtkCTree from an external XML file:

http://www.riff.org/charger_un_gtkctree_depuis_xml_en_php-gtk

The (short) intro text is in french, but you can very well skip it to go directly to the code.

The example may also be useful in that the data being loaded into the tree represent the PHP-GTK 1 GTK class hierarchy (GDK not included).

Paradox formatted memos in Delphi applications

Submitted by Frederic Marand on Sat, 1997-03-08 00:00

Earlier today, someone asked how to display the contents of Paradox formatted memo fields in a Delphi app.

I setup a basic solution, for which the source is given hereunder.

The idea is to define a calculated String field for the Query or Database used. Say be call it FMT in a table TBL, so its object name will be TBLFMT. In the OnGetText event for the field, add this code: