A trawl through FAQ and the posts reveals that
HIDE WINDOW COMMAND (or "Command" - not clear which)
should do the trick, or that the window will vanish when you display a form, especially if called from a program.
None of this seems to work (except, of course, in a...
I'd like users to be able to spell check some text they've entered (that will eventually be stored in a memo field). I rather hoped that
x=SYS(1500,"_MTL_SPELL","_MSYSMENU")
might do the trick, but it doesn't. Part of the problem, I suppose, is that by the time one presses...
I've designated a top level form, and in it I need to open a form to give a message. When I close the message form I want the top-level form top stay on the screen. It all works fine on the machine I'm developing on, but as soon as upload it onto the remote server and operate it as if I were a...
Does anyone know how to get at the contents of the array created by amouseobj()? Column 1 is supposed to tell you what object the mouse is hovering over. Not knowing quite what to expect, I called amouseobj() and then tried
wait window my_array(1)
and
wait window str(my_array(1))
neither of...
Is there an easy way of sending a report to a file that can be subsequently loaded by Word with all its formatting intact? I want my users to be able to write reports that can be stored centrally but transferred onto their own computers for printing without having to teach them all about FoxPro...
What I'd like to do is to highlight a word or two in a text box and then convert just the highlighted bit to italics, say, or bold. The toolbar in the component gallery only changes the text attributes of the active control itself, thus affecting everything (and, anyway, I can't get it even to...
Is there something one can call from the LostFocus or Valid methods of a text box that will both transfer focus to a combo box and also make it think that someone has pressed the down arrow? I'd like the user to enter filtering details into the box, and for the list from which he is to select to...
Mike
Problem solved. It was the CLEAR EVENTS in the Deactivate method of the top level window. It was obviously getting deactivated when the child window was opened, but somehow this method was being held in reserve until the child window was closed. Then CLEAR EVENTS took over and returned...
Under some circumstances I'm displaying a subsidiary window to warn the user of impending doom or giving them information. I've set the subsidiary window to modal and am displaying it in the top-level window. It works fine on the machine on which I develop it, even in the .exe version. But when...
When I convert an Excel file into DBF format Excel truncates many of the fields. I can expand the cells in Excel, and that overcomes the problem to some extent, but the mere fact that the contents of a cell are entirely visible doesn't seem to ensure that they will all be copied.
Is there an...
When I try to use LIST or DISPLAY either on the screen or on the printer, FoxPro allocates far too much space for the fields so that you can't get more than a couple of fields on one line. You can get round it by turning all the fields into strings and then concatanating them, but there must be...
I'm afraid I'm still very new to OOP, and I expect this question has something to do with Classes, which still seem a bit hard!
In FoxPro 2 you could put often-used code snippets, UDFs and things into a separate file which you referenced with SET LIBRARY TO <filename>. Then you could call those...
I wonder if anyone can rescue me from this?
My application can be run by all intranet users from a central server. It consists of one window that I've made the top window, and I've hidden the screen. This means that the active window has to be modeless, and I've had to issue READ EVENTS in the...
I've put an application on computer A (running Windows 2000). It can be accessed by lots of computers (B1, B2, etc) running any old Windows. When a user leaves I want to send an alert to computer C, running Windows 2000. I've tried
RUN NET SEND <user_id> <message text>
What I get is an error...
I'm new to using FoxPro on a network. I've written an application that needs to know the user's handle (by which he logged on to the net) so as to customise the form with information specific to him. Is there a way of interrogating the intranet to find out who has just opened my application...
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.