Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New class-table based pseudo-maps
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
New class-table based pseudo-maps
Miscellaneous
Thread ID:
00022856
Message ID:
00022856
Views:
83
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
Next
Reply
Map
View

Click here to load this message in the networking platform