Jump to content
Xtreme .Net Talk

aewarnick

Avatar/Signature
  • Posts

    1052
  • Joined

  • Last visited

Everything posted by aewarnick

  1. Even Better!!!! Thank you very much for all your help!!!
  2. That was exactly what I wanted! How much room in memory will that array take up?
  3. The demo was VB so I could not open it. I don't think I am doing this right: object[]t={this.richTextBox1.Text,this.richTextBox2.Text,this.richTextBox3.Text}; (TextBox)t[0]="HI";
  4. I don't think that is C#.
  5. You are right Derek, I am moving the other boxes down when one above it is resized because if they did not move then the user could not see the boxes under it. So, I have to do it manually in that case? And, it is awkward to do it the way I am? It seems reasonable to me? I would think alot of people would do it this way. But what do I know, I just started.
  6. I have a form that has text boxes on it and labels that I would like to resize, but when they are resized I need the other boxes to move down so that they can be seen. I know that I can manually do this by using Location=new Point(); but that will take a long time. Is there an easier way?
  7. At least I tried. Thanks divil.
  8. That is exactly!!!! what I was looking for!!!!!! Thank you so much for taking the time to help me.
  9. I am trying to store references to the properties Text in each text box. So that when I reference t in a for loop it will be just like writing textBox2.Text.
  10. I just read my last post and realized why noone got back to me. It does not make any sense. I will try to explain it better. Right now, I have 2 forms. The first form is the main form and has all the readonly tb's whereas the second form is created with the clidk of a button and it has the empty editable forms. When the user types in the additional info it creates a text file (when save pressed) if none exists and appends it if it does. That form is disposed and the readonly form reads the whole text file, displaying the old (if there is any) and new info. I am wondering if there is a way that the user could add to the info in the readonly boxes but not change what is already displayed while writing in that same box. VolteFace, maybe what you suggested would be fine? Is there a good example you can whip up?
  11. There has got to be some kind of orderly way that I can refer to the textbox text. I tried storing this.richTextBox1(2,3,4,5,6,7,...).Text in an object array but it was like a variable instead of the actual text box text. Here is an example of what I am trying to avoid: holdIt=SR.ReadToEnd(); SR.Close(); ClearTBs(); this.richTextBox1.Text=holdIt[0]; this.richTextBox2.Text=holdIt[1]; this.richTextBox3.Text=holdIt[2]; this.richTextBox4.Text=holdIt[3]; I would like to put it in a for loop instead and just write: ?Write in textbox?=holdIt;
  12. Nope. That would be easiest but it won't work in my case because I need to go in a special order and that order could change. Can't I store ref's to this.TextBox1.Text in an array?
  13. When I display Rtf in a message box all I see is the rich text formatting not the actual formatted text.
  14. I can't store the formatting along with the text in a string?
  15. Is it possible that I could display font from the same textbox or string in different ways. Some of the string being size 14 some being bold, italic. . .
  16. I have 12 richTextBoxes and 12 lables that I wish to flip through easily in my program with a for loop but I don't know if or how I can put richTextBox1.Text richTextBox2.Text and so on in an array. Here is one example: string[]data=new string[CommunicationLog.textBoxCount]; data[0]+=this.richTextBox1.Text; data[1]+=this.richTextBox2.Text; return data;
  17. I do not think that is what I want. Try my program out and you should see what I want to do. I want to get rid of the extra form that I have pop up so that the text can be appended and just append the text right from the first form but be secure about it in that someone else cannot go and edit what was already written. [edit]removed binaries - divil[/edit] windowsapplication1.zip
  18. Is there any way to disable (Read Only) only part of a richTextBox? I want text boxes that can be read and added to but not edited.
  19. That was a very good explanation.
  20. I have a button that needs displayed once in a while. Is it better to make it Visible=true or use Show and Hide methods? I know that Visible is a property but what other differences are there?
  21. So I cannot use the button and then get rid of it?
  22. Are you saying that I can convert my boxes to extended types? I will try both, but I still cannot reference the button to delete it from the event handler.
×
×
  • Create New...