Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memo Fields on a Form
Message
De
09/05/2001 08:20:33
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
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:
00505196
Vues:
19
>>>>>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!

Renoir,
You could design them on separate forms and when you're done set one of form objects visible = .f. and copy&paste to master form. Or better yet if they'd show&hide in groups save the group as a class (container) and add it to form.
BTW you might want to check 'expanding editbox' in downloads section.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform