CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2001
    Posts
    71

    ActiveXControl ,BackColor,Font,Read only

    I m trying to create an activex Control and it has a textbox.Now want to have a Font property for it.

    1) Individually I can create various properties i.e. FontName,FontSize,ForeColor,UnderLine etc.
    But how can i have the font dialog box in the propert sheet.Like the one we get when we change the font property of Label or TextBox

    2) Similarly I want to have BackGround Property.How can I get the color dialog Box like we get when we set the background property of Label.

    3) Now I m trying to Create MultiLine Property.I can get the input from the user whether he wants to have multiline textbox or not,
    but when I try to asign this value (true/false) then the compiler says can't assigh to read only property.

    Can Any one help.


  2. #2
    Join Date
    Mar 2002
    Location
    Izhevsk, Udmurtia, Russia
    Posts
    930

    Re: ActiveXControl ,BackColor,Font,Read only

    It seems to me what you have looked for is:

    Tools
    Procedure Attributes...
    Advanced >>>
    property Category:
    - <None>
    - Font
    - ...another...



    if your cursor stay within required Property.

    With best wishes,
    Vita
    With best wishes,
    Vita
    -----------------------
    Russian Software Development Network -- http://www.rsdn.ru

  3. #3
    Join Date
    Mar 2002
    Location
    Izhevsk, Udmurtia, Russia
    Posts
    930

    Re: ActiveXControl ,BackColor,Font,Read only

    Or

    Tools
    Procedure Attributes...
    Advanced >>>
    Use this Page with property Browser:
    - <None>
    - StandardColor
    - ...another...





    With best wishes,
    Vita
    With best wishes,
    Vita
    -----------------------
    Russian Software Development Network -- http://www.rsdn.ru

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

Featured