I saw some code the other day in this forum where the programmer printed the second line of a MESSAGEBOX() by using just "<string>"+chr(13)+<"string>".
I have always seen this done by using "<string>"+chr(13)+chr(10+"<string>"), instead of chr(13) alone. So I had to try it for myself, and it...
I've set the bell off in every way I can think of, and this messagebox() function still sounds it when it pops up ---
LOCAL lnSomeThing as Number
SET BELL off
lnSomeThing=MESSAGEBOX('"Yes" to do something. "No" to do something else',4+16,"Do something?")
IF lnSomeThing=6
** do something
ELSE...
I found a demo online that I wanted to try. When I run the program, VFP throws up a dialog saying "The file does not exist." The offending line is the second line of this code:
If File("Customer.dbf")
Drop Table Customer
Endif
The file does exist. And if it didn't, why would the second line of...
Has anyone else experienced this? I have a form that I am trying to get it to do exactly what I want it to do. So I make lots of changes to it trying out various ways to accomplish what I want. After I change something in the form designer, I run the form. A dialog box asks me to save the form...
thread184-1691596
I'm new to this forum so I have been reading a lot of older posts. I came across
thread184-1691596. The gist of the responses was that you should virtually never hard code a printer choice in your code, but allow the user to make the choice. I understood the discussion about...
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.