Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LostFocus Native Behaviour
Message
From
06/08/2001 11:25:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
06/08/2001 10:30:24
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00540072
Message ID:
00540189
Views:
20
>>It shouldn't have something with commandbutton's setfocus. Are you sure in Gotfocus, When etc or target object doesn't have some code to lend focus to next ?
>
>Cetin and Mark,
>
>This is what comes out of the Coverage Profiler:
>
>
>   0.003824,,codes.t48_page_frame1.page3.cbo_code.gotfocus,3,d:\working\mff100\vmff\forms\codes.sct,6
>   0.000112,cbo_detail_fields,cbo_detail_fields.lostfocus,2,d:\working\mff100\vmff\libs\app_codesform.vct,5
>   0.000148,cbo_detail_fields,cbo_detail_fields.lostfocus,3,d:\working\mff100\vmff\libs\app_codesform.vct,5
>   0.000071,cbo_detail_fields,cbo_detail_fields.lostfocus,6,d:\working\mff100\vmff\libs\app_codesform.vct,5
>   0.000114,,codes.t48_page_frame1.page3.cbo_fulldesc.gotfocus,2,d:\working\mff100\vmff\forms\codes.sct,5
>
>
>There is only minimal code in the GotFocus of the instance in order to have the line show up in the Coverage Profiler. How could it possible go directly from the GotFocus of the instance to the LostFocus of the class? Does something run inbetween that wouldn't appear here?
>
>Renoir

Renoir,
This is only gotfocus-losfocus profiling. What if some object did something like :

cbo_code.setfocus
cbo_fulldesc.setfocus

Hard to catch. I would copy cbo_code directly on form and call form.cbo_code.setfocus() from a click.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform