Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browse Last does not work with Fields option
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Browse Last does not work with Fields option
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01221673
Message ID:
01221673
Vues:
62
I’m trying to open a browse in a window to make it look better. But the settings do not work if I use the Fields option with browse. Can you help?
CLOSE DATABASES
OPEN DATABASE (HOME(2) + 'data\testdata')
USE customer  && Open customer table

DEFINE WINDOW xx FROM 10,10 SIZE 1,1 NAME xx &&FLOAT CLOSE
xx.top		=1
xx.left		=1
xx.WIDTH	=_screen.Width
xx.HEIGHT	=_screen.Height
xx.MaxButton= .f.
xx.MinButton= .f.
xx.refresh()
BROWSE IN WINDOW xx NAME yy SAVE NOWAIT

yy.setall('DynamicBackColor', 'IIF(Mod(Recno(),2)=0,Rgb(255,255,255),Rgb(255,255,187))')
yy.HIGHLIGHTBACKCOLOR=16744448 &&0x00ff00 && another example
yy.HIGHLIGHTSTYLE= 1 && another example
yy.WIDTH=xx.WIDTH
yy.HEIGHT=xx.HEIGHT
yy.AUTOFIT()

ACTIVATE WINDOW xx

*---------------------------
*-- it works
*---------------------------
*BROWSE LAST 

*---------------------------
*-- it does not work
*---------------------------
BROWSE LAST FIELDS;
company,;
contact	= contact:h="Name"
		
RELEASE WINDOWS xx
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform