Click to See Complete Forum and Search --> : textbox


Dr. Inferno
February 16th, 2000, 07:05 PM
if you have VB5 or above, then you would know what I am about to say. Say you make a procedure:

Sub pause(howlong as double)
current=timer
do while timer-current<val(howlong)
doevents
loop
end sub



then when you called to this procedure from another one, you would get a yellow box (whatever color) which says pause(howlong as double), letting you know what commands have to be entered in the ()'s.
Now, I made a program which allows you to make DOS program in DOS code. To make it better, I make an editor of DOS programs so you can type in code. There are 22 functions that I have, but the user can enter others of their own. Anyway, here is an example of what I want to have occur:
------
In DOS, there is a command echo [text], where text is text. This prints a line of text to the monitor so the user can see it. When the person using my program enters the command

echo

I wnat it to show a small box which says:

echo [text]

letting the person know text should be entered after the command. How can I do this? Also, you know how comments in VB CODE EDITOR are green? There are also comments in DOS - the rem function. This would be a comment in VB:
'this is a comment
and this is one in dos:
rem this is a comment
how can I make it so when any comments are dark green, like they are in VB?