Vlad,
Thanks for the tip, but it doesn't seem to make any difference, the code is still invisible until I page UP/Down or other similar action. The code in the keyboard (via ON("KEY","F6") ) is:
keyboard "{CTRL+X}*{SHIFT+LBRACE} fj 02/28/2002 {Enter}{CTRL+V}{enter}*{SHIFT+RBRACE} fj 02/28/2002 {Enter}{Enter}{CTRL+F}{SHIFT+LBRACE}{ALT+B}{ALT+N}{ALT+B}{CTRL+Q}{END}"
Set this to a function key, modify a program, select some text, and you will see what I mean.
>Hi!
>
>Did you tried the commands like "SHOW WINDOW WONTOP() REFRESH"?
>
>>Hi all,
>>
>>I have a function key that does the following:
>>
>>Copy the selected text to the clipboard, type in a "*{ 01/01/01 fj ", a paste from the clipboard, then a closeing comment. It ends with a backwards search to find the opening bracket and position the cursor at the end of that line so that I can add comments about the block of code I am about to edit.
>>
>>When I run this, two or three lines following the cut and pasted text dissappear. They are not gone, just invisible. If I move the cursor down to where they should be and type, they magically reappear. I can also pageup/down to fix it as well.
>>
>>I want to add a command similar to _screen.activeform.cls(). However, I can't get an object reference to the editor.
>>
>>I can get the editor window name via wontop(). AselObj only works on controls as does sys1270. _screens.forms doesn't help either. So I can get the name of the current window, but I can't get an object reference to it. I seem to recall doing this once before, but I just can't remember how to get an object reference to a window when all I have is the window name.
>>
>>Any ideas?
>>
>>Thanks,
>>
>>Fletcher
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only