Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mouse wheeling
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01040785
Message ID:
01040803
Views:
24
Hi Sergey,

Yes :-).
Fast reply, fast code.

MartinJ

>Martin,
>
>The nDirection cannot be both negative and positive at the same time. It's better to use DO CASE...ENDCASE for readability.
DO CASE
>CASE nDirection<0
>   * first action
>   * move container top
>CASE nDirection>0
>   * second action
>   * move container bottom
>ENDCASE
>
>
>>
>>If nDirection<0
>>   * first action
>>   * move container top
>>endif
>>if nDirection>0
>>   * second action
>>   * move container bottom
>>endif
>>
>>
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Reply
Map
View

Click here to load this message in the networking platform