Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memo Fields on a Form
Message
 
À
09/05/2001 08:13:20
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00504917
Message ID:
00505212
Vues:
20
This message has been marked as a message which has helped to the initial question of the thread.
>>>>>I have very limited real estate on a form and the old system used two memo fields (CTRL-Home to edit). I do not have room for edit boxes and was wondering what the best way was to approach this. Trap keystrokes and call a new form was my first thought, but I wanted to see what others have done or thought. Thanks!
>>>>>
>>>>>Regards, Renoir
>>>>
>>>>
>>>>You also need a way to get at the fields with a mouse. Have a command button that opens a second window that displays the memos.
>>>
>>>Craig,
>>>
>>>I think your saying to put a command button where the field would normally be and use that to call a form containing the editbox... I like it! Thanks!
>>
>>You might not even call a form, you can just make the editbox in the same form visible/invisible when you need it. (make sure it has ZOrder(0) )
>
>I tried it and, hey, that's pretty cool! I wish there were a way for me to give you and Craig both the three stars, but I didn't know there would be another great idea after his. The combination is going to make this portion of the project much simpler. One question (which may be rhetorical since I believe I already know the answer) - Is there an easy way to work in development with multiple elements on a form which share the same space? The EditBox will either cover the other objects or the objects will cover the Editbox. I'm guessing that's just the way it is... Thanks again for the neat idea Nick!

As Cetin says, you can have multiple containers with objects in them which you can make visible on demand. The container may be movable. I often do that - for example, you can see such a movable container where you can add comments for the form controls in my FoxSpeaker, where it appears on righ-click on the control. Another solution would be to fit a pageframe into that space. The solution depends on the form needs.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform