+ Reply to Thread
Results 1 to 7 of 7

Setting TextBox font (Select Case)

  1. #1
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,163

    Setting TextBox font (Select Case)

    MY attempted code:
    Please Login or Register  to view this content.
    Obviously I am not understanding something with setting a textbox font.

    I have three checkbox's, dependant on which is true I want textbox11 to use a specific font (One of three fonts).

    All hints, tips or examples are appreciated.
    Last edited by Rick_Stanich; 08-14-2009 at 09:10 AM.
    Regards

    Rick
    Win10, Office 365

  2. #2
    Forum Contributor
    Join Date
    05-09-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    315

    Re: Setting TextBox font (Select Case)

    Hi Rick

    Why not keep it simply?

    Please Login or Register  to view this content.
    Dion

  3. #3
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Setting TextBox font (Select Case)

    FWIW, I think you should be using Option buttons in a Group Frame.

    What happens if ALL of the check boxes are checked (=True). With option buttons there can only be one selection.

    BTW - PCDMIS ++ ?? what version?

  4. #4
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,163

    Re: Setting TextBox font (Select Case)

    Quote Originally Posted by mojo249 View Post
    Hi Rick

    Why not keep it simply?

    Please Login or Register  to view this content.
    Dion
    Keep it simple he says, what am I supposed to do with my day?
    Thanks for the example.

  5. #5
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,163

    Re: Setting TextBox font (Select Case)

    Quote Originally Posted by Palmetto View Post
    FWIW, I think you should be using Option buttons in a Group Frame.

    What happens if ALL of the check boxes are checked (=True). With option buttons there can only be one selection.

    BTW - PCDMIS ++ ?? what version?
    I can switch to Option Buttons, right now code clears unused checkboxes.

    Im guessing this will be PCDMIS v3.7x or newer which is supposed to have a GD&T font for creating reports.

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Setting TextBox font (Select Case)

    I would use a ComboBox listing the Font names, then use the ComboBox change event
    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Setting TextBox font (Select Case)

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1