Click here to Skip to main content
15,886,963 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

In our C# application, we have to create more than 2000 richtextboxes dynamically and we should display them in seven tabs with two columns and we need to fill the data from an excel sheet.we are creating them tabwise and then columnwise. (Its the previous design, so we are proceeding in this way only)

The application is working fine with Windows XP. when we run the same application in Windows 7, In the Seventh tab some last rows are not displaying properly. They are overlapping with the previous textboxes. Not all the textboxes are displaying. Also, the last text box(which is not actually last to display), which is last displayed is coming with more than expected vertical gap. when the code is debugged, the Y location value for the textboxes is coming fine but the same is not reflecting in the form .

Thanks in Advance.
Posted
Updated 13-Sep-11 19:27pm
v2
Comments
Prerak Patel 14-Sep-11 1:28am    
Removed urgency.
Praveen Kullu 15-Sep-11 0:30am    
Resolution of both windows (xp and win7) are same or different?
SampathKumarAmarthaluri 15-Sep-11 5:15am    
This problem is coming independent of Resolution. whatever be the resolution in XP or Win7 the problem occurs

1 solution

I think some controls are larger in Windows 7/Vista than in Windows XP(like the calendar) so maybe you need to check system information for the Windows version and change the control layout spacing code or whatever to space the controls properly.
 
Share this answer
 
Comments
SampathKumarAmarthaluri 16-Sep-11 3:02am    
We are using all richtextboxes of same size. All are displaying fine in the six tabs. Don't know why in the last tab, which contains large no of textboxes only giving this problem.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900