TomasDill, u ask about ON SHUTDOWN?
Imagine this:
What if user doesn't close your application while shutting down his/her computer?
Your application will be left hanging.
In my case:
My application doesn't quit until the user clicks the 1 & only 'QUIT' commandbutton in my form.
Thus...
Assuming your menu bar is "_cspi"
If u wanna do the menu using wizard,
After creating, dont close it.
Choose Menu->Generate->Generate.
You'll now have _cspi.mpr
Add this line in the your main form Init Event:
Do _cspi.mpr
Or u can do this in old-fashioned way either,
just refer to...
R u telling me that:
1) Form1 has Grid1. Grid1's RecordSource is table1.
2) Form2 has Grid2. Grid2's RecordSource is table2.
FORMSET.FORM2.Grid2.qt_liv.ControlSource is table1 ??
Should'nt it b a field?
>>when I wrote any number in this field it will write too in the first record,
First...
1)Maybe jonscott has mistyped.
It's suppose 2 b like this:
nodefault
This.txtqt_liv.setfocus()
nodefault comes b4 This.txtqt_liv.setfocus()
3)What's diffrent between "allowaddnew" and "append blank"?
Read allowaddnew's remarks.
U C, controls like textbox,editbox,combobox, etc...
have properties call 'controlsource'
and u can reference your variable to them.
For eg:
Thisform.text1.ControlSource=m.Sol_
Thisform.text2.ControlSource=m.nomaseg
Thisform.text3.ControlSource=m.dirase
...
..
Combine variables into one-mega variable.
ReturnValue=Var1+';'+Var2+';'+Var3
After returning the ReturnValue, split them again using ';' as the delimeter.
Excuse me, (blush), emm..
How do you know these commands ?
oExcel.Application.Workbooks.Open(lcFile)
oExcel.Workbooks.Close
oExcel.Quit
I can't find in FoxPro Help.
Get a copy of MSDN.'FoxPro's Help' is in there, nowhere else.Install MSDN.
Open FoxPro, under 'Tools'->'Options'->'File Locations'->'Help File'
Point it to whereever you've installed MSDN in your harddisk.
Remember to point it to a file called 'FoxPro.chm'
Click 'Set As Default', Click 'OK'...
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.