Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wierd Error
Message
From
03/08/2000 08:20:45
 
 
To
01/08/2000 10:13:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00399030
Message ID:
00400283
Views:
17
Hello.

----------
In design time, I made some changes in a form. In Tools->Options I have "Do not confirm saves on run" (or something, you know what I mean). When I hit Run button, my form gives table-related errors. I go back in design mode, and guess what? My form doesn't have tables in dataenvironment anymore. (I need to restore from backup). I have about 50 forms in applications, and this happens only on one of them.

More than that; tired to restore from backup every time,I've decided to design this form again. After finished, my new form doesn't have any problems!
-----------
In design time, I set InputMask property something like this:

ThisForm.Grid1.Column1.Text1.InputMask="99 zile" (don't ask what "zile" means, please! :-)). When text1 have focus, Inputmask stays as designed. When not, input mask is "99 ziLe" (notice capital "L"!). When text1 gets the focus again, capital L is changed back to letter "l".
Only some of my forms have this behaviour.
-----------

In my custom class library, I have one listbox. This listbox have IntegralHeight property set to .T. In one of my forms, I don't want this, and I set IntegralHeight=.F. After adjustments of height, run the form. Surprise! ListBox doesn't have the height desingned. Hack the .scx file: height property is as the editbox have IntegralHeightProperty set to .T.

-----------

I've designed one report, having as EPSON LX-1050 as default printer. First record in .frx file contains in a memo field the following:

DRIVER=winspool
DEVICE=Epson LX-1050
OUTPUT=LPT1:
ORIENTATION=0
PAPERSIZE=260
DEFAULTSOURCE=8
PRINTQUALITY=120
YRESOLUTION=144
TTOPTION=1

When the report is printed, between record, absolutely random, I have one space (~ 7-8 mm). If I modify printer settings, (to print better), report is printed in the same way, disregarding printer settings. (In other programming languages, printing work fine). I can mail this report to you, if you want to see this ith your own eyes.
------------

As you know, in .scx file is one record for each pageframe. Pages don't have a record for each of them. In one memo field, pageframe has the following text:

PageCount = 9
ActivePage = 1
Top = 31
Left = 167
Width = 451
Height = 286
Tabs = .F.
TabIndex = 9
Name = "Pagini"
Page1.Caption = "Date Personale"
Page1.Picture = ..\graphics\background.bmp
Page1.PageOrder = 1
Page1.Name = "DatePersonale"
Page2.Caption = "Functie, Deduceri, Vechime"
Page2.Picture = ..\graphics\background.bmp
Page2.PageOrder = 2
Page2.Name = "FunctieDeduceriVechime"
Page3.Caption = "Salariu, Date angajare"
Page3.Picture = ..\graphics\background.bmp
Page3.PageOrder = 3
Page3.Name = "SalariuDateAngajare"
.
.
.

In design mode, if pageorder property of third page is set to 2, all seems to be ok and record above is modified accordingly, but activepage property of pageframe is given by counting pages (I suppose), and, in this way, we have:

page1 is active, ActivePage property gives 1
page2 is active, ActivePage property gives 3
page3 is active, ActivePage property gives 2

-------------------

I have more examples, but no one handy, and all this message is written at one computer wich doesn't have VFP installed. Sorry for delay, but I haven't been online for nearly a week.

P.S. In the other hand, in my opinion, the UniversalThread itself is a prove for all this bad stuff in VFP. In this usergroup (an extremely good one, also) is so much activity, and a very big proportion of messages are troubles-related. One example: altough VFP have one menu generator, people ask for others; VFP have one report desingne, but I have seen hundreds of messages about Crystal Reports. How sound this?

PPS I'm sorry for my bad English, but I hope I made myself understood. :-)
Grigore Dolghin
Class Software.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform