Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browse vs Display
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00665253
Message ID:
00666179
Vues:
17
This is not a Memo field!

>Hi,
>
>Try the MODIFY MEMO command.
>
>HTH,
>Arriyel
>
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform