We all use CTRL+Click while working with containers in VFP IDE.
Is it possible to detect this combination in button's click method ?
i.e. How to know if the CTRL key was pressed while clicking a button.
Kruno
Hi Mike,
Yes, not so easy to place WAIT WINDOW near commandbutton which is to be clicked. Thanks to NOCLEAR clause WAIT WINDOW does not disappear. Did you try my first sample ?
I simplified my problem and maybe mislead you. The point is not in listbox, but in commandbutton:
The user chooses...
Hi Olaf,
I agree with Mike - STATUS BAR is too far away from the control the user is intended to click (a commanbutton near listbox).
I tried TOOLTIP. Yes, more prettier than WAIT WINDOW, more closer to commandbutton, but too slow showing.
Various _TOOLTIPTIMEOUT settings do nothing with speed...
WAIT WINDOW is used mostly with TIMEOUT or NOWAIT clause. I have never used NOCLEAR clause before.
When user selects an item from listbox (e.g. filled with filenames), before he clicks on commandbutton to do something with it, I want to show him what he selected and what will happen after...
I need a standalone application (no VFP screen) to preview/print address labels and to let modify LBX-file.
Running as APP - all ok.
Running as EXE preview/print labels is ok, but MODIFY LABEL is not.
After regular closing program a process left and must be killed manually.
Obviously MODIFY...
Thanks Tamar and Mike
You wander why I am overdoing it. A question is usualy small part of bigger problem. In my case datapump. And here is a story about datapump to learn from:
If the data came from FPD I suddenly need ALLTRIM in WHERE portion of all my SQL statements for one table and field...
Hi friends,
Crime scene: Datapump, FPD tables to VFP tables.
COPY TO ... TYPE SDF (in FPD) made TXT-file with date type portion like 20080226. So far so good - format mentioned in VFP HELP of APPEND FROM.
In VFP then I APPEND FROM ... TYPE SDF, but datetime field in my VFP-table remains...
I experienced your report behaviour converting my DOS reports (FRX) to VFP.
In some intensive grouping reports there were some blank rows between data. Not regular row height, but in pixels. Very nasty. I suspected in correlation of amount of data processed (but covered by grouping).
My...
.
Yes. It is [color red]not[/color red] recommended to change the way menu looks.
But if you (or your users) still insist, here is the way:
A. CHANGING MENU FONT (NAME, SIZE, STYLE)
================================================
Step-by-Step Procedure
To change the font of a menu...
As I recall, once I used a color scheme for blinking red:
Somewhere in SETUP-code (R for red):
set color of scheme 22 to R/W,R/W,R/W,R/W,R/W,R/W,R/W,R/W,R/W,R/W
Somewhere in CLEANUP-code define a function (* for blink):
procedure kolorit
parameter blinkx
if blinkx
set color of scheme 22 to...
Hi,
Maybe this thread may help you with all comments there about "clean" start of VFP program and closing behaviour:
http://www.tek-tips.com/viewthread.cfm?SQID=719621&SPID=184&newpid=184&page=1
Kruno Malovic
Thanks all for contributions.
Machele,
There is no intention to hide VFP origin, but to get program behavior as in other languages. It is sad that we have to do tricks to get so simple things:
1.standalone form without File,Edit,Format built-in menu and VFP-screen (and no flickering)
2.closing...
I want an application that will behave/look as it is C or Delphi program:
- no VFP screen or menu,
- in the the middle of my desktop, movable, nice...
- closable on "X" of title bar
When you want some little piece of work to demonstrate, it is hard to explain to non-VFP guys what is...
I had the same problem and then found this old thread. Don't know if you still need an answer... but for the others, this I experienced:
INI file holds the path to my DBC and I want to be sure that my DE/cursors will found DBC and to be able to move my EXE and data anywhere.
So I put in...
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.