Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memberdata Script problem
Message
From
12/12/2006 10:14:57
 
 
To
21/11/2006 08:29:26
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01171318
Message ID:
01176849
Views:
10
Continuing this topic...

Following your tips, I've created a small PRG that contains some scripts to be used by some classes that I wish to distribute for free.

There are some scripts to Get a file, Get a Picture, Get a color, change logical values, add a list of choices, etc...

What's the best way to distribute it with my class ?
If I just leave it in the same folder of the VCX, it will only work if the script file is in the same path... Otherwise it will generate an error.

Should I create an installer program ?
I'm almost giving up and copying each script to the memberdata directly, to ensure the users won't have problems with this...

Do you have any tips for that ?

Thanks in advance

Cesar








>Thanks very much Tamar !
>
>
>
>>>Thanks very much Fabio,
>>>
>>>
>>>aControl[1].WriteExpression("BackColor1","")
>>>
>>>WriteExpression made it work perfectly!
>>>
>>>I'm getting very excited with creating those scripts.
>>>Do you know if it's possible to put a ComboBox instead of the native TextBox for a property that I added to an object?
>>>
>>>My goal is to obtain the same effect that we have for example in Form.BorderSize, when VFP opens a Combo containing: 0-No Border 1-Fixed Single 2-Fixed Dialog 3-Resizable.
>>>
>>>Or should I create a simple form with a kind of builder for that?
>>>
>>
>>You can't build the combo into the Property Sheet like the native properties, but you can create a simple form. You can also write a property editor that lets you double-click to change to the next value in a list. Doug Hennig published techniques for that in FoxTalk a while back.
>>
>>Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform