Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Browse.....
Message
From
17/04/1998 23:45:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
17/04/1998 21:17:50
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00092376
Message ID:
00093109
Views:
26
>>>Are there any short-cut key to return back the column to left most
>>>column in browse window!?
>>>
>>>For some reasons, user need to use browse to lookup information
>>>but feel inconvience on moving!
>>No shortcut key. If browse is browse (not grid) then you could assign a menu shortcut or "on key" to do it (beware about validation etc).
>>
>>do while !varread()="LEFTMOSTFIELD"
>>  keyboard "{TAB}"
>>enddo
>>
>>Cetin
>
>Sorry again, the Keyboard statement seem fail to work in browse window...
>it becomes an infinite loop...
You're right (and it was kludgy).
clear all
push key clear
use (home()+"samples\data\customer")
on key label "F4" do plsScrollToLeftMost     && Beware - On key label would interrupt events !!!
browse name mybrowse
push key clear
use

function plsScrollToLeftMost
with mybrowse
	do while .columns(.activecolumn).columnorder # 1
	   .doscroll(6)
	   .activatecell(.relativerow,1)
	enddo
endwith	
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
Reply
Map
View

Click here to load this message in the networking platform