• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 342
  • Last Modified:

VFP6 IntelliSense

This should be very simple but
In VFP6, IntelliSense not works and thisform.image1.picture got error massage.
0
johnwood
Asked:
johnwood
  • 4
  • 3
1 Solution
 
pcelbaCommented:
What was the error message text or number?
0
 
pcelbaCommented:
This works for me in form's Init event:

THISFORM.Image1.Picture = "c:\program files\microsoft visual studio\vfp98\gallery\graphics\appwiz.ico"
0
 
johnwoodAuthor Commented:
I have put IMAGE1 in the form but got error message
Unknown member IMAGE1.
for Form1.Load event code
thisform.image1.picture="C:\......\test.jpg"
0
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 
pcelbaCommented:
The Image control does not exist in Load event yet. You have to move this code into Init event.

BTW, no form controls exist in Load event.
0
 
johnwoodAuthor Commented:
pcelba,

yes, you are right! It works in Init event.

Can you tell me why IntelliSense not works for me? After type thisform and a dot, no list appeared.
0
 
pcelbaCommented:
Full Intellisense implementation was introduced in VFP 7. Some alternatives exist (read e.g. http://support.microsoft.com/kb/193404/en-us/) but they are not so good as native intellisense implementation.

0
 
johnwoodAuthor Commented:
Thank you for your help!
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now