Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New class-table based pseudo-maps
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
New class-table based pseudo-maps
Divers
Thread ID:
00022856
Message ID:
00022856
Vues:
79
Did something neat thought I'd share it.

Took a blank form and in the init section it looks at a table. The table has in it the following fields

label
type
top
left
height
width
code

The init then does an addobject for each record and creates a box shape, color coded based on type field with label as the tooltiptext and the size per the other
fields. The code is put into the click method of the object.

What this does is uses a table to create a map that is color coded with tooltip helps and launches the text in the code field when you click on it.

Caveat. Make sure if you don't release the form on deactivating it you remove all the objects so you don't
try adding objects that are allready there

Gives the feel of a different type of grid, more like a web based map (aka pseudo map) with tool tips enabled.

Opinions welcomed.
Todd Burstain, MD
infinitydoc@delphi.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform