my pleasure.... :)
binjafar
Posts
-
Maintain whitespace between strings -
Combobox SelectedIndexChanged Infinite LoopEnjoy! :)
-
Combobox SelectedIndexChanged Infinite LoopYou have possibly two ways to do this... 1. use SelectionChangeComitted event (recommended) 2. use some global variable Flag that u set to 'true' once all the comboBox is filled up... before comboBox is completely filled..this flag should remain 'false'... later on in ur code... just check if the flag is set to 'true' before doing what ever u do upon item selection. Enjoy!
-
Custom made user control won't drop down in TableLayoutPanel, otherwise its perfect!Yes sure! every other control works normal if dropped on the table except for the custom made one. Question is... why doest it works well if dropped on a form ... but once you bring it inside a TableLayout... it does'nt!! my control uses TextBox, Button and a CheckedListBox that is shown on button click... all these items are inside a TableLayout whose Dock is set to fill and rows are set to Autosize. i've tried to '.BringToFront()' and things like that but no use... if it is bound to its own cell as u say... what to do next??? re-design without TableLayOut?? ahh...headache!!
-
Maintain whitespace between stringsvery simple...just add one 'Else'... as below...! Dim abc As String Dim xyz As String = String.Empty Dim a As Char Console.WriteLine("Enter The String") abc = Console.ReadLine() For Each a In abc Dim b As Char If Asc(a) > 64 And Asc(a) < 91 Then b = Chr(Asc(a) + 32) ElseIf Asc(a) > 96 And Asc(a) < 123 Then b = Chr(Asc(a) - 32) Else b = a End If xyz = xyz + b Next Console.WriteLine(xyz) Console.ReadLine() Enjoy!
-
Custom made user control won't drop down in TableLayoutPanel, otherwise its perfect!Hi, i've made a control which is supposed to drop down on button click. it works perfect if i place it out of table layout, but if i drag drop it in a form with table layout panel... drop down doesnt show... possibly because of control's parent? OR z-order? any help will be appriciated.... thnx!
-
Custome User Control wont workhi all, i made a user control in VS2008 which works fine in every aspect. But when i import it to VS2008 toolBox and drag drop it to any form... nothing happens... its not added to the form designer... any clue?? thanx in advance for any help!!