locked
How do I resize this? RRS feed

  • Question

  • Hi there:

    Is it possible to resize the check box created by using the litdev extension of LDControls.AddCheckBox?  I know you can change the words by altering the brush size, but how about the actual box?

    Any help will be greatly appreciated.

    Regards

    Tuesday, October 2, 2018 9:20 AM

Answers

  • how about this?

    a= ldcontrols.AddCheckBox("Test")
    shapes.Move(a,150,150)
    Program.Delay(2000)
    shapes.zoom(a,1.50,1.50)

    • Proposed as answer by Nonki Takahashi Friday, October 5, 2018 5:10 AM
    • Marked as answer by litdev Saturday, October 13, 2018 4:29 PM
    Wednesday, October 3, 2018 12:28 AM
    Answerer
  • The CheckBoxes (like in LDControls, FCControls) have their box size hardcoded and cannot be changed.

    For a larger CheckBox, you'll have to create your own.

    Samples:

    Small Basic – Controls and Challenges

    Small Basic: How to Make a CheckBox

    or try searching the forum 'ownerdraw checkbox", 'checkbox control', 'custom checkbox' or similar.

    • Marked as answer by litdev Saturday, October 13, 2018 4:29 PM
    Tuesday, October 2, 2018 11:04 AM
    Answerer

All replies

  • The CheckBoxes (like in LDControls, FCControls) have their box size hardcoded and cannot be changed.

    For a larger CheckBox, you'll have to create your own.

    Samples:

    Small Basic – Controls and Challenges

    Small Basic: How to Make a CheckBox

    or try searching the forum 'ownerdraw checkbox", 'checkbox control', 'custom checkbox' or similar.

    • Marked as answer by litdev Saturday, October 13, 2018 4:29 PM
    Tuesday, October 2, 2018 11:04 AM
    Answerer
  • Thank you very much for your help.

    Much appreciated.

    Regards

    Tuesday, October 2, 2018 12:16 PM
  • how about this?

    a= ldcontrols.AddCheckBox("Test")
    shapes.Move(a,150,150)
    Program.Delay(2000)
    shapes.zoom(a,1.50,1.50)

    • Proposed as answer by Nonki Takahashi Friday, October 5, 2018 5:10 AM
    • Marked as answer by litdev Saturday, October 13, 2018 4:29 PM
    Wednesday, October 3, 2018 12:28 AM
    Answerer
  • Wow, had not considered it at all!!!

    Thank you so much!!!

    So many smart people in this forum!

    Regards


    Wednesday, October 3, 2018 7:32 AM
  • Hi,

    This is my version of check box. Code to import = GNF051

    Thanks..


    Roshan - 8th Grade Student (Age 12) - Learning Small Basic, Visual Basic and C#

    Thursday, October 4, 2018 1:44 PM