Results 1 to 4 of 4

Thread: Help me with text boxes

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2001
    Location
    UK
    Posts
    204

    Question Help me with text boxes

    is there anyway to get the information from a text box for example the text box says "Command1.BackColor = &H80000007"
    so when a button is clicked it does that command?

    Thanks
    Neil
    Last edited by Neilbaker86; Oct 20th, 2001 at 05:47 PM.

  2. #2
    Addicted Member
    Join Date
    Jul 2001
    Location
    Germany, BW
    Posts
    157

    ??

    i dont't understand you!! what do you mean with
    "get the information from a text box for example "

    a specific question please .. cya
    Old enough to know better,
    but young enough to don't give a ****!

  3. #3
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431
    The BackColor of a command button is not a good example, because in most cases it doesn't show up, but here is an example that changes its font size. The 24 could be gotten from text1.text.

    CallByName Command1, "FontSize", VbLet, 24

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Aug 2001
    Location
    UK
    Posts
    204

    ok

    yeah the reason i asked that is because im making a skin system for my program and it opens from a text file this sort of information and wondered how i could run it from the text box...

    Example:
    Form1.BackColor = &HF1CCAD
    Form1.Label1.BackColor = &HF1CCAD
    Form1.Label1.ForeColor = 0
    Form1.Label2.BackColor = &HF1CCAD
    Form1.Label2.ForeColor = 0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width