Click here to Skip to main content
15,898,222 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Cannot change text of button on a control. Pin
Dave Kreskowiak23-Jun-12 3:40
mveDave Kreskowiak23-Jun-12 3:40 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad23-Jun-12 4:09
Ammar_Ahmad23-Jun-12 4:09 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad23-Jun-12 4:10
Ammar_Ahmad23-Jun-12 4:10 
AnswerRe: Cannot change text of button on a control. Pin
Luc Pattyn23-Jun-12 4:18
sitebuilderLuc Pattyn23-Jun-12 4:18 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad23-Jun-12 4:21
Ammar_Ahmad23-Jun-12 4:21 
AnswerRe: Cannot change text of button on a control. Pin
Luc Pattyn23-Jun-12 4:35
sitebuilderLuc Pattyn23-Jun-12 4:35 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad23-Jun-12 4:41
Ammar_Ahmad23-Jun-12 4:41 
AnswerRe: Cannot change text of button on a control. Pin
Luc Pattyn23-Jun-12 4:57
sitebuilderLuc Pattyn23-Jun-12 4:57 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad23-Jun-12 5:28
Ammar_Ahmad23-Jun-12 5:28 
GeneralRe: Cannot change text of button on a control. Pin
Dave Kreskowiak23-Jun-12 5:42
mveDave Kreskowiak23-Jun-12 5:42 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad24-Jun-12 3:59
Ammar_Ahmad24-Jun-12 3:59 
GeneralRe: Cannot change text of button on a control. Pin
Dave Kreskowiak24-Jun-12 4:36
mveDave Kreskowiak24-Jun-12 4:36 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad24-Jun-12 4:44
Ammar_Ahmad24-Jun-12 4:44 
GeneralRe: Cannot change text of button on a control. Pin
javadadabi23-Jun-12 7:41
javadadabi23-Jun-12 7:41 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad24-Jun-12 4:00
Ammar_Ahmad24-Jun-12 4:00 
SuggestionRe: Cannot change text of button on a control. Pin
Ally523-Jun-12 16:15
Ally523-Jun-12 16:15 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad24-Jun-12 4:01
Ammar_Ahmad24-Jun-12 4:01 
SuggestionRe: Cannot change text of button on a control. Pin
Nick Otten24-Jun-12 23:07
Nick Otten24-Jun-12 23:07 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad25-Jun-12 1:13
Ammar_Ahmad25-Jun-12 1:13 
QuestionFlowLayoutPanel1 and controls Pin
Ammar_Ahmad21-Jun-12 23:59
Ammar_Ahmad21-Jun-12 23:59 
AnswerRe: FlowLayoutPanel1 and controls Pin
Nick Otten22-Jun-12 0:21
Nick Otten22-Jun-12 0:21 
QuestionRe: FlowLayoutPanel1 and controls Pin
Ammar_Ahmad22-Jun-12 0:48
Ammar_Ahmad22-Jun-12 0:48 
AnswerRe: FlowLayoutPanel1 and controls Pin
Nick Otten22-Jun-12 1:48
Nick Otten22-Jun-12 1:48 
QuestionRe: FlowLayoutPanel1 and controls Pin
Ammar_Ahmad22-Jun-12 2:46
Ammar_Ahmad22-Jun-12 2:46 
AnswerRe: FlowLayoutPanel1 and controls Pin
Nick Otten22-Jun-12 2:53
Nick Otten22-Jun-12 2:53 
I got the file, so you can remove the link if you want. Cant promise i can get to it ASAP, but i will see if i can paste in the code you need.

EDIT:
Oke got a quick look at it during work. the twitter is blocked here so i cant actually test it. but i think if you replace your AddTestTweet sub with this one it will work.

VB
Private Sub AddTestTweet(ByVal tweet As TwitterStatus)
       If (Me.FlowLayoutPanel1.InvokeRequired) Then
           Me.FlowLayoutPanel1.Invoke(New AddTestTweetDelegate(AddressOf AddTestTweet), tweet)
       Else
           Console.WriteLine(String.Format("New tweet: @{0}: {1}", tweet.User.ScreenName, tweet.Text))

           Dim storedtweet As New TweetTimelineControl(tweet)
           Me.FlowLayoutPanel1.Controls.Add(storedtweet)
           Me.FlowLayoutPanel1.Controls.SetChildIndex(storedtweet, 0)

       End If
   End Sub


Like i said its untested so don't shoot me if it adds to the bottom, try playing with the 0 if this happends(make it FlowLayoutPanel1.Controls.Count for example).

modified 22-Jun-12 9:20am.

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.