Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this a known problem?
Message
From
08/01/1997 07:27:35
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00016721
Message ID:
00016732
Views:
60
>>Dear Visual FoxPro Users
>>
>>When I'm runing a form in the Trace tool it behaves
>>perfectly, but when I ran the same form without the trace
>>tool the form behaves incorrectly.
>>Is this a known problem and what can I do about it?
>>I have VFP 3.0b
>
>Can you tell me the differences briefly? I don't really know your problem.
>Do you compile your program in EXE or APP?Did you install Vfp300.esl in your destination PC?Do you program has 'READ EVENT' command?
>
>Sunny
>
I have made a form with 16 textboxes in the form designer.
When the user puches a command-button the cursor jumps to
a textbox that the user have choosen in an option.
When I do PROJECT/RUN FILE on the form, the cursor jumps
to the first textbox, not the textbox the user have choosen
in the option.
When I do TOOLS/TRACE WINDOW on the form the cursor jumps to
the right textbox (the one that was choosen in the option)
and just the expected source code is executed.

.....
do case
case option.value = 1
thisform.txtbox1.setfocus()
case option.value = 2
thisform.txtbox2.setfocus()
.....
.....
endcase

I have even used the command ? in a lot of places to see what's
happening during the execution, but I haven't found anything
strange.

The form is used in a program (EXE) that has a READ EVENT and
the same problem exist here.
Best regards
Niklas Fjellman

E-mail: niklas.fjellman@adb-kontoret.goteborg.se
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform