Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement