Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugging Tool on user machine
Message
 
 
À
23/06/2000 17:32:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00384084
Message ID:
00384092
Vues:
32
Have you looked at the command window simulators in the file section? That might give you a head start. I believe they come with source.

Michelle


>I am trying to develop a simple "debugging tool" to be able to run on the user's machine. By hitting an F-key, it pops up an edit box to enter command, the results display in a window. I would like to make this program to run on any active form. So far I've made it to work in develop environment, but it does not work when I run .EXE from outside of VFP. One thing I noticed is that when I run .EXE, no Form object is created in memory, when I try to add edit box to an active form dynamically, I get "object xxx not found".
>
>Here is my code:
>
>FormName=_Screen.ActiveForm.Name && NAME OF THE ACTIVE FORM
>&FormName..AddObject('DiagCmd','_editbox')
>WITH &FormName..DiagCmd
> .Height = 24
> .Left = 12
> .Top = 13
> .Width = 432
> .SelectedForeColor = RGB(255,255,255)
> .SelectedBackColor = RGB(0,0,0)
> .ControlSource = "DiagCmdTxt"
> .Name = "DiagCmd"
> .Visible = .T.
>ENDWITH
>
>
>Any idea? Thanks in advance!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform