Results 1 to 6 of 6

Thread: caption text

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    caption text

    hello!
    i have form without titlebar or controlbox.enabled=false
    if i will minimize the form i will set the caption with value
    no problem with that. my question is, is it possible to see the caption
    in the taskbar when the form controlbox.enabled=false?

    do i need to use API?

    tnx.
    *****************
    VB6,PHP,VS 2005

  2. #2
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: caption text

    I am a little confused could we see your code to gather a little bit of an understanding of what you are doing.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    Re: caption text

    ok sorry...

    if the form has no title bar or the ControlBox.enabled=false
    you cannot see the the Caption on the title bar, right?
    since i am using customize form i want to see my caption on the
    taskbar even my ControlBox.enabled=false

    if still not understand pls. tell me

    PS. i attached pix pls. view
    Attached Images Attached Images  
    *****************
    VB6,PHP,VS 2005

  4. #4
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: caption text

    You need to set the text property of the form for it to appear in the taskbar

    vb Code:
    1. this.Text = "Something here";

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    Re: caption text

    hello! remember that my controlbox.enabled=false...
    so whatever text will i type will not view in the taskbar.
    i am asking if it is possible if controlbox.enabled=false and i will see the text in taskbar? beause i am customzing my form, my own minimze button, and exit button.

    is it possible?
    *****************
    VB6,PHP,VS 2005

  6. #6
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: caption text

    Code:
    if (checkBox1.Checked == false)
    {
         this.Text = "Something here";
    }
    is that what your looking for?

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