Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Messing with .SCX form file methods?
Message
From
04/10/2001 08:11:18
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00564042
Message ID:
00564047
Views:
16
This message has been marked as the solution to the initial question of the thread.
>I read the form file MYFORM.SCX by doing
>USE MYFORM.SCX IN 0 SHARED
>
>and I added the last three lines to the methods of the form programmatically as shown here
>
>PROCEDURE When
>RETURN isediting
>ENDPROC
>PROCEDURE InteractiveChange
>* Yellow backgrnd if no data, White backgrnd if data
>THIS.BackColor = IIF(EMPTY(THIS.Value),RGB(255,255,128),RGB(255,255,255))
>THIS.DisabledBackColor = IIF(EMPTY(THIS.Value),RGB(255,255,128),RGB(255,255,255))
>ENDPROC
>PROCEDURE RightClick
>HELP ID THIS.HelpContextID
>ENDPROC
>
>
>My question is -
>How come when I open the form and look at the Methods that I added/updated by adding the PROCEDURE RightClick method to the form along with HELP ID THIS.HelpContextID line and the ENDPROC line, it does not show in the Methods? Am I forgetting something? I added those last 3 lines to the form.methods field.
>
>Thanks for a clue?

Compile form ?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform