Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design question
Message
From
15/01/2005 22:16:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00977521
Message ID:
00977532
Views:
17
Thanks for the confirmation.

Yes, I have been testing with type() - I guess PEMStatus() would work, too - and collecting a list of inexistent map points (labels), to show later in an error message.

>Hilmar,
>
>I'd say it's a good design. You can simply type() test to see if the label exists and basically have direct access to the label via name without needing to search for it.
>
>>I suggested my client to give the corresponding Labels in the "map" form meaningful names, like LblAAA and LblABC, to make it possible for a program to easily fill in the data, by just generating the Label name, checking if the Label exists (there may be invalid data), and fill in the "Power" value.
>>
>>Now, I was wondering whether this was the best way to do this, or whether there were any more elegant methods to get the job done. Or simply, some interesting alternative to choose.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform