Hi!
Try following:
procedure thisformset.menu_options
lparameter oObject
cGrdobj = oObject.name
oObject.Visible = .F.
This.myform.RemoveObject(cGrdobj)
endproc
Hope this helps.
>VFP 6 SP4
>
>
>procedure thisformset.menu_options
>lparameter oObject
>cGrdobj = oObject.name
>This.myform.RemoveObject(cGrdobj)
>endproc
>
>
>Windows Message:
>
>VFP6 caused an invalid page fault in
>module VFP6.EXE at 0187:004e3afe.
>Registers:
>EAX=00000000 CS=0187 EIP=004e3afe EFLGS=00000246
>EBX=00a3fd80 SS=018f ESP=00a3fd60 EBP=00a3fd90
>ECX=00000000 DS=018f ESI=c0000005 FS=250f
>EDX=000db87c ES=018f EDI=007d55b8 GS=0000
>Bytes at CS:EIP:
>eb b5 6a 01 8b 55 0c 8b 4d 08 e8 78 6c f7 ff 8b
>Stack dump:
>00000000 8165efbe 00930000 c0000005 00000000 00a3fe28 00a3fd60 00a3fa10 00a3fe28 007c8231 007d55b8 ffffffff 00a3fe38 0045a6cc 8165efbe 00000001
>>
>Anyone has got this message before.. If yes, please help me
>
>
>TIA
>
>Claudio
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.