\r\n\r\n
Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET Interface and Graphics > Form not resizing at run-time


\r\n \r\n
 
 
Thread Tools Display Modes

\r\n\r\n\r\n
I have following code to resize the form at run-time but it does not work. Form size remains same. What could be the possible reason?
\r\n
\r\nfrmErrMsg.btnNo_Err.Visible = True
\r\nfrmErrMsg.btnOK_Err.Text = "Yes"
\r\n
\r\nfrmErrMsg.Height = 800
\r\nfrmErrMsg.btnNo_Err.Top = frmErrMsg.Height - 80
\r\nfrmErrMsg.btnOK_Err.Top = frmErrMsg.Height - 80
\r\n
\r\nfrmErrMsg.ShowDialog()
\r\n \r\n\r\n
\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n Reply With Quote\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n'; pd[1394733] = '\r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n
\r\n
\r\n  \r\n #2  \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n Old\r\n \r\n 06-29-2012, 02:24 PM\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
AtmaWeapon\'s Avatar\r\n\r\n
\r\n \r\n AtmaWeapon\r\n AtmaWeapon is offline\r\n\r\n\r\n
Prev Previous Post   Next Post Next
  #1  
Old 06-29-2012, 02:23 PM
SanganakSakha SanganakSakha is offline
Newcomer
 
Join Date: Jun 2012
Posts: 5
Default Form not resizing at run-time


I have following code to resize the form at run-time but it does not work. Form size remains same. What could be the possible reason?

frmErrMsg.btnNo_Err.Visible = True
frmErrMsg.btnOK_Err.Text = "Yes"

frmErrMsg.Height = 800
frmErrMsg.btnNo_Err.Top = frmErrMsg.Height - 80
frmErrMsg.btnOK_Err.Top = frmErrMsg.Height - 80

frmErrMsg.ShowDialog()
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->