Results 1 to 8 of 8

Thread: [RESOLVED] command button

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2006
    Posts
    977

    Resolved [RESOLVED] command button

    Hi
    I want to add a command button into my VB6 form,I want that when I press into this command, to still pressed.How can I design the command buttons?
    thanks

  2. #2
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Re: command button

    Check It Apperance Style Property
    Last edited by shakti5385; Sep 20th, 2006 at 04:11 AM.

  3. #3
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Re: command button

    if you mean you want a toggle button then use a CheckBox and set it's Style to Graphical

  4. #4
    VB Guru ganeshmoorthy's Avatar
    Join Date
    Dec 2005
    Location
    Sharjah, United Arab Emirates
    Posts
    3,031

    Re: command button

    are you talking about the check box control with the style property set to Graphical
    VB Code:
    1. Check1.Style =  1
    If an answer to your question has been helpful, then please, Rate it!

    Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.


  5. #5
    Shared Member
    Join Date
    May 2005
    Location
    Kashmir, India
    Posts
    2,277

    Re: command button

    Quote Originally Posted by engnouna
    Hi
    I want to add a command button into my VB6 form,I want that when I press into this command, to still pressed.How can I design the command buttons?
    thanks
    Use checkbox and change the style to Graphical.
    Use [code] source code here[/code] tags when you post source code.

    My Articles

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2006
    Posts
    977

    Re: command button

    well no I am talking about when I press the command button to still pressed.Also the command button doesn't have a forecolor property.How can I change the forecolor of the caption?

    Also I want to set the border style to 0-None but also this property does not exist.How can I do it?
    thanks

  7. #7
    Shared Member
    Join Date
    May 2005
    Location
    Kashmir, India
    Posts
    2,277

    Re: command button

    Quote Originally Posted by engnouna
    well no I am talking about when I press the command button to still pressed.Also the command button doesn't have a forecolor property.How can I change the forecolor of the caption?

    Also I want to set the border style to 0-None but also this property does not exist.How can I do it?
    thanks
    Most of it can be done using a CheckBox.
    Use [code] source code here[/code] tags when you post source code.

    My Articles

  8. #8

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2006
    Posts
    977

    Re: command button

    thanks to you all

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