Grandpa0594
New member
- Joined
- Nov 6, 2009
- Messages
- 2
- Programming Experience
- 10+
You probably have heard this one before but it’s been plaguing me for a number of years now. I write a lot of data entry programs. I will usually create a form as a MDI container and then call the data entry routines from there. I call the data entry forms using:
Dim ParkingTicketMaintenance As New ParkingTicketMaintenance
ParkingTicketMaintenance.MdiParent = Me
ParkingTicketMaintenance.Show()
The forms I use normally have maybe 4 or 5 panels in them with 8 to 10 text boxes/combo boxes and corresponding labels in each panel, so about maybe 40 controls per screen. The problem I have is that when the called form displays, even on high-end units with fast processors, 2 Gigs or more memory, and 1 Gig display cards, it takes about a second or two to display all the controls. I’ve noticed however that when I use ShowDialog to display the data entry form, it’s like night and day. It’s still not perfect but it’s much, much better. The problem with ShowDialog is the called form does not stay within the MDI container.
Any ideas would be greatly appreciated.
Dim ParkingTicketMaintenance As New ParkingTicketMaintenance
ParkingTicketMaintenance.MdiParent = Me
ParkingTicketMaintenance.Show()
The forms I use normally have maybe 4 or 5 panels in them with 8 to 10 text boxes/combo boxes and corresponding labels in each panel, so about maybe 40 controls per screen. The problem I have is that when the called form displays, even on high-end units with fast processors, 2 Gigs or more memory, and 1 Gig display cards, it takes about a second or two to display all the controls. I’ve noticed however that when I use ShowDialog to display the data entry form, it’s like night and day. It’s still not perfect but it’s much, much better. The problem with ShowDialog is the called form does not stay within the MDI container.
Any ideas would be greatly appreciated.