Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Customizing Browse Window

Status
Not open for further replies.

Serincino

Programmer
Jun 13, 2003
61
US
I'm using VFP8. In several parts of my program I need to pop a browse window so the user can select the correct record to use in the rest of the program ( I can't use a grid cause this choice needs to be made inthe middle of code and pause will not work and the browse acts like a pause or a wait while the choose their record). I have been informed by several of my test users that the default colors of the browse window are making it slightly hard to see what they are selecting. I'm tried using the browse color scheme # but nothing changes. I'm also used set color of scheme # to (colorpairs) then use that # in the color scheme of the browse but still nothing changes. Does anyone have any ideas how to do this?? Thanks in advance.

-Serincino

If you see a programmer in the office before 9am, they probably never left.
 
Hi

1. First I do not agree that Grid cannot be used. Grid can be nicely integrated within the textbox keypress or other event and then, the called form containing the grid can scroll the table you want and return the value you want.

I do it so many of my lookup.. in textbox, in Grid column text box etc..

2. Next the invisibility to your nrowse window could be caused by the Theme property.

You can set at the beginning of your main.prg..
_screen.Themes = .f.

OR you can browse...

wBrowse = NEWOBJECT("Form")
WITH wBrowse
.Name = "wBrowse"
.TitleBar = 0
.WindowType = 1
.AutoCenter = .t.
.Height = 240
.Width = 432
.Themes = .f.
ENDWITH
BROW FIELDS ..........
WINDOW (wCrncy.Name) NODELETE NOEDIT ;
FREEZE myField

:)

____________________________________________
ramani - (Subramanian.G) :)
When you ask VFP questions, please add VFP version.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top