Click here to Skip to main content
15,914,642 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionDeleting/Clearing programmically created controls Pin
Hmmkk28-Dec-05 3:46
Hmmkk28-Dec-05 3:46 
AnswerRe: Deleting/Clearing programmically created controls Pin
Dave Kreskowiak28-Dec-05 4:29
mveDave Kreskowiak28-Dec-05 4:29 
GeneralRe: Deleting/Clearing programmically created controls Pin
Hmmkk28-Dec-05 4:44
Hmmkk28-Dec-05 4:44 
GeneralRe: Deleting/Clearing programmically created controls Pin
Dave Kreskowiak28-Dec-05 5:01
mveDave Kreskowiak28-Dec-05 5:01 
GeneralRe: Deleting/Clearing programmically created controls Pin
Hmmkk28-Dec-05 5:15
Hmmkk28-Dec-05 5:15 
GeneralRe: Deleting/Clearing programmically created controls Pin
Dave Kreskowiak28-Dec-05 5:50
mveDave Kreskowiak28-Dec-05 5:50 
QuestionRe: Deleting/Clearing programmically created controls Pin
Hmmkk28-Dec-05 6:41
Hmmkk28-Dec-05 6:41 
AnswerRe: Deleting/Clearing programmically created controls Pin
Dave Kreskowiak28-Dec-05 13:14
mveDave Kreskowiak28-Dec-05 13:14 
It sounds as though you shouldn't be creating and deleting the panels. Rather just altering what they're displaying. Creating and killing controls at runtime is a very expensive operation.

Just keep track of the Panels in your own array and modify their properties. Instead of killing the panel, couldn't you just set it's Visible property to False?


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Deleting/Clearing programmically created controls Pin
Hmmkk28-Dec-05 14:58
Hmmkk28-Dec-05 14:58 
GeneralRe: Deleting/Clearing programmically created controls Pin
Dave Kreskowiak28-Dec-05 16:06
mveDave Kreskowiak28-Dec-05 16:06 
QuestionHowTo: HTML_2_Image Pin
Dredy28-Dec-05 0:58
Dredy28-Dec-05 0:58 
Questionstill excel remains in memory Pin
jith - iii27-Dec-05 22:54
jith - iii27-Dec-05 22:54 
QuestionHow to communicate with serial port in VB.NET Pin
kusikue27-Dec-05 22:46
kusikue27-Dec-05 22:46 
AnswerRe: How to communicate with serial port in VB.NET Pin
Dave Kreskowiak28-Dec-05 4:34
mveDave Kreskowiak28-Dec-05 4:34 
GeneralRe: How to communicate with serial port in VB.NET Pin
WillemM28-Dec-05 8:55
WillemM28-Dec-05 8:55 
QuestionGet previously active window?? Pin
matsnas27-Dec-05 22:29
matsnas27-Dec-05 22:29 
AnswerRe: Get previously active window?? Pin
Dave Kreskowiak28-Dec-05 4:46
mveDave Kreskowiak28-Dec-05 4:46 
QuestionWinForm LifeCycle.. Pin
HakunaMatada27-Dec-05 19:52
HakunaMatada27-Dec-05 19:52 
AnswerRe: WinForm LifeCycle.. Pin
Dave Kreskowiak28-Dec-05 4:37
mveDave Kreskowiak28-Dec-05 4:37 
GeneralRe: WinForm LifeCycle.. Pin
HakunaMatada28-Dec-05 17:24
HakunaMatada28-Dec-05 17:24 
GeneralRe: WinForm LifeCycle.. Pin
Dave Kreskowiak29-Dec-05 5:18
mveDave Kreskowiak29-Dec-05 5:18 
GeneralRe: WinForm LifeCycle.. Pin
HakunaMatada29-Dec-05 17:11
HakunaMatada29-Dec-05 17:11 
QuestionDataGridTextBoxColumn can hold the ComboBox ?? Pin
HemaRawat27-Dec-05 19:17
HemaRawat27-Dec-05 19:17 
AnswerRe: DataGridTextBoxColumn can hold the ComboBox ?? Pin
Robert Rohde27-Dec-05 21:21
Robert Rohde27-Dec-05 21:21 
GeneralRe: DataGridTextBoxColumn can hold the ComboBox ?? Pin
HemaRawat27-Dec-05 22:18
HemaRawat27-Dec-05 22:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.