General information
Category:
Forms & Form designer
>>I have a quirky issue.
>>
>>Have a Form where I'm attempting to remove a cursor from the Data Environment. After selecting the cursor in the Properties Window, I can't find the cursor in the Visual Designer as there are over 100 cursors on the form.
>>
>>Any way to remove the Cursor outside of the Designer?
>
>I tried to do it using aSelobj() but the reference to a form doesn't have any property relating to the DE... but then messing around it I found that it can, if 2nd parameter is 2. So, open the form in the designer, then in command window do
>
>aSelobj(aEd,2)
>oRef=aEd[1]
>and then iterate through your cursors until you find the one which has your alias. Assuming it's cursor43:
>
Thanks Dragan - will take a look.
FYI, I discovered that if I select the Cursor in the Properties Window, click on the DE Window & Click Delete, the cursor will be removed even if I can't Visually see it
>lcName=oref.Cursor43.name
>oRef.removeobject(lcName)
>
>Then save the form.
>
>Backup first.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only