Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I uninstall PEM Editor
Message
De
16/03/2009 11:24:28
 
 
À
11/03/2009 17:23:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01387013
Message ID:
01388396
Vues:
78
Hi Greg.

>Would you mind posting you developer menu code. Would be curious as to what you included on this. Thanks.

I actually use the VFPX OOP Menu project for my menu so unless you use that, the code may not make much sense.
with This
  .AddBar('SFSuspendBar', 'SFMenu.vcx', 'DeveloperSuspend')
  .AddBar('SFBar', 'SFMenu.vcx', 'DeveloperScreenToggle')
  with .DeveloperScreenToggle
    .cCaption        = 'To\<ggle Screen'
    .cOnClickCommand = '_screen.Visible = not _screen.Visible'
  endwith
  if version(2) = 2
    .AddBar('SFBar', 'SFMenu.vcx', 'DeveloperTrace')
    with .DeveloperTrace
      .cCaption        = '\<Trace Window'
      .cOnClickCommand = 'set step on'
    endwith
    .AddBar('SFBar', 'SFMenu.vcx', 'DeveloperWatch')
    with .DeveloperWatch
      .cCaption        = 'Watc\<h Window'
      .cOnClickCommand = 'activate window Debug'
    endwith
  endif version(2) = 2
endwith
There aren't a lot of items:

- Either SUSPEND (in dev mode) or bring up a window in which I can type commands and execute them (a fake Command window for runtime apps)
- Toggle _SCREEN.Visible because I usually run an app with it off but it's helpful to be on when debugging
- SET STEP ON
- Open the debugger

Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform