I need to make a drawer in foxpro, anybody know how ?
I have a screen that using "on key label" draw lines
with the cursos but i don't know how to save this
in a file, or text file ...
Using the same on key label routine to draw the lines, you could concurrently update a file with coordinates (be it text, dbf or otherwise) so it could be read back in to redraw the lines at a later date.
ok, but i cant to write lines in a file... only ascii characters ... that is my problem.
I can write ascii characters but is very hard to paint
with ascii charactes ...
That's not what I meant. What I meant was, that you could save the coordinates of the line drawn, then when you need to redraw the lines, read in the coordinates. Say you have a table with a structure similar to this:
After the line was completed, you would update the table with start and end row and column. The when the lines needed to be drawn again, you would read the table and recreate the lines.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.