Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browse Last does not work with Fields option
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01221673
Message ID:
01221680
Views:
17
Doesn't work for me either, but you may manipulate it as a grid, e.g. set ColumnCount, etc.

>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
>
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform