Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browse vs Display
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Browse vs Display
Miscellaneous
Thread ID:
00665253
Message ID:
00665253
Views:
58
Hi,

Anyone knows a simple method to display some information at the bottom of a page - like a product description - while in a Browse?

Here is the method we actualy use;

USE INVENT IN 0
SELECT INVENT
DEFINE WINDOW W_PROD FROM 0,0 TO 22,79
DEFINE WINDOW WWDESC FROM 23,0 TO 23,79 NONE COLOR GR+/B
ON KEY LABEL F1 DO something here
BROWSE WINDOW W_PROD WHEN WWDESC() TITLE "Inventory Listing"
ON KEY LABEL F1
CLOSE ALL
CLEAR WINDOWS
RETURN
*----------------------------------------
PROCEDURE WWDESC
PUSH KEY CLEAR
AV_WIN=WONTOP()
ACTIVATE WINDOW WWDESC
@0,1 SAY"Description : "
@$,$ SAY INVENT.DESCRIP color w/b
SHOW WINDOW (AV_WIN)
POP KEY
RETURN
*==========================================================

This method works well but that is many lines of codes to display a single line of information. I was asking myself if there was a more simple way to get the same result.

I also have seen the use of "Edit in Windows..." as the bottom line but this method has less control on the display position and colors.

Thanks in advance.
Réal Philippon
www.ultra.ca
Next
Reply
Map
View

Click here to load this message in the networking platform