>>>>Can you post the Intellisense script that you're trying to get to work in runtime?
>>>
>>>No script, just want to have the field list drop whenever you enter in the window SomeTable. , so i can have them choose from the field names...
>>
>>Jaime,
>>
>>Let me rephrase my question. How would you acomplish that in development?
>
>Go in the command window. Type USE SomeTable.
>Then write SELECT SomeTable. and bam <--- you see the fields list. That's what i want at runtime but i saw in help that runtime doesn't care of the T option in EditorOptions...
>This is an editbox that holds a condition ( real VFP condition ) that i then check for validity and run against a table. I do at runtime a modify command, then enter the contents into the editbox, which works great ( better than using the memo field in browse ).
>
>Thanks
>Jaime
CREATE CURSOR byby (aa i,bb i,cc i,dd i)
WITH CREATEOBJECT("Form")
.AddObject("edit","myEdit")
.Edit.Visible = .T.
.Show(1)
ENDWITH
USE IN BYBY
DEFINE CLASS myEdit AS EditBox
PROCEDURE rightClick
SELECT byby
DEFINE POPUP fields FROM MROW(0),MCOL(0);
TITLE "Fields List" SHORTCUT PROMPT STRUCTURE
ON SELECTION POPUP fields .SelText = PROMPT()
WITH m.this
ACTIVATE POPUP fields
ENDWITH
RELEASE fields
ENDPROC
ENDDEFINE