Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>>>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!
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement