Information générale
Catégorie:
Codage, syntaxe et commandes
>>ON KEY LABEL F5 DO HosNotes
>>DEFINE WINDOW DocNote FROM 2,3 TO 12,60 ....
>>MODI MEMO Doc.Notes WINDOW DocNote
>>RETU
>>
>>PROCEDURE HosNotes
>>ON KEY LABEL F5
>>DEFINE WINDOW HosNote FROM 6,8 TO 14,65....
>>MODI MEMO Hos.Notes WINDOW HosNote
>>ON KEY LABEL F5 DO HosNotes
>>RETU
>>
>>In 6.0, the HosNotes procedure executes, but when the MODI MEMO Hos.Notes line executes,the hos notes flash on screen for less than a second, and execution proceeds to the line after MODI MEMO hos.Notes.
>>
>>Has anyone encountered this and found a workaround? I suppose I could resort to using a form with a textbox in the place of MODI MEMO, but if there is some simple change I can make to the existing code, Id' rather take that approach.
>
>You can try, for a quick fix:
>
>MODI MEMO Hos.Notes IN (the current active form name goes here)
Since I'm not running any forms at the time, I tried MODI MEMO Hos.Notes IN SCREEN, but it didn't help. I did discover that if I leave the WINDOW keyword off of the MODI MEMO Hos.Notes line, I get a default MEMO edit window for hos notes. However, I don't go back to Doc.Notes when I exit hos.notes. I do have some other ideas now though, thanks.
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