Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I determine Browse coordinats
Message
De
14/09/1998 08:29:26
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
14/09/1998 07:07:15
Dmitry V.Glouzdov
LUKOIL (Nizhny Novgorod)
Nizhny Novgorod, Russie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00136071
Message ID:
00136097
Vues:
29
>I use BROWSE LAST command without NAME argument (from Data Session window in VFP)
>How can I determine Browse coordinats after manipulations with it?
Hi,
You could polish this routine to get what you want :
lparameters wname
lcOldFont = _screen.fontname
lnOldFontSize = _screen.fontsize
_screen.fontname = wfont(1,wname)
_screen.fontsize = wfont(2,wname)
nYCoord = wlrow(wname)*_screen.height/srows()
nXCoord = wlcol(wname)*_screen.width/scols()
nWidth = wcols(wname)*_screen.width/scols()
nHeight = wrows(wname)*_screen.height/srows()
_screen.box(nXCoord,nYCoord,nWidth+nXCoord,nHeight+nYCoord)
_screen.fontname = lcOldFont
_screen.fontsize = lnOldFontSize
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform