|
-
Nov 6th, 2009, 01:52 PM
#1
Thread Starter
PowerPoster
[RESOLVED] MDI forms and textboxes on child forms not editable
I'm very much a newcomer to MDI forms, and I found a method posted here which worked fine. In every form in my program I added the setparent part of the code and all forms load into it fine, but that's where the weirdness begins.
Firstly, if I set a form as an MDI child (as I assume I need to) the form's width/height is set weirdly...but I would assume I could fix that on form_load so haven't worried too much about it for now (plus I don't think I really need to set it as a child as it's an internal form and seems to work fine without being set)
Secondly, textboxes which have worked fine in the past as single non-MDI forms (with the forms not set as child) but once they're added into the MDI form (or any form, MDI or otherwise) they're not editable...I can click but it doesn't highlight the text within, and I can't type anything into them. MOST of what the program does actually doesn't require any typing, but I would nevertheless like to know how to fix it as some parts do need to be typed into 
Has anyone any suggestions about either of these issues?
Well, everyone else has been doing it :-)
Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
Expect more to come in future
If I have helped you, RATE ME! :-)
I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!
And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|