Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What was last control
Message
From
26/08/1998 05:50:30
 
 
To
25/08/1998 19:31:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00129607
Message ID:
00129977
Views:
27
>>Thanks, I have since re-thought the problem and I think the best approch is to assign the textbox name to a property of the container object and when I click on the up or down control I know where the user pointed to... I am making a custom datetime spinner...
>>
>>What do you think?
>
>This sounds like it will work, but when you assign an object to another object's property, you will have to explicitly release that reference before the releasing the referenced object.
>
>If you don't your form will not close on release. So, in form.destroy:
>thisform.container.otext = .NULL.

My class is based on a container class and in the click event of a shape that is over the textbox I have the following

This.Parent.cLocation = This.Name

with cLocation being a property of the container. So all I am doing is putting the name of the shape in the property of cLocation, is that correct?

Whould I still have to do as you suggest?

Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform