Recent Changes

Monday, May 22

  1. page thejoecole edited ... Clear characters out of text boxes And... good GUI design ... page for LBTemp JBTemp ca…
    ...
    Clear characters out of text boxes
    And... good GUI design
    ...
    page for LBTempJBTemp can be
    Feel free to comment, critique or just say hello. :)
    {JCole_stamp.jpg}
    (view changes)
    9:18 pm
  2. page thejoecole edited WelcomeI'm Joe Cole, and go by the screen name "thejoecole" in the Just BASIC community.I…
    WelcomeI'm Joe Cole, and go by the screen name "thejoecole" in the Just BASIC community.I'm an analyst by trade and learning programming as a hobby. Looking forward to sharing what I learn with Just BASIC as well as learning from others.
    {JCole_stamp.jpg}
    Current Project:
    JBTemp
    ...
    And... good GUI design
    The project page for LBTemp can be found at justbasic.wikispaces.com/JBtemp.
    ...
    hello. :)
    {JCole_stamp.jpg}

    (view changes)
    9:16 pm
  3. page JBtemp edited ... wait Feel free to comment, critique or just say hello. :) {JCole_stamp.jpg}
    ...
    wait
    Feel free to comment, critique or just say hello. :)
    {JCole_stamp.jpg}
    (view changes)
    9:14 pm
  4. page thejoecole edited ... Clear characters out of text boxes And... good GUI design The project page for LBTemp can b…
    ...
    Clear characters out of text boxes
    And... good GUI design
    The project page for LBTemp can be found at justbasic.wikispaces.com/JBtemp.
    Feel free to comment, critique or just say hello. :)
    (view changes)
    8:43 pm
  5. page JBtemp edited JBTemp v1.0 JBTemp is ... program. I made started on it a version of this few years ago…

    JBTemp v1.0
    JBTemp is
    ...
    program. I madestarted on it a version of thisfew years ago and now, getting back into programmingam reworking it after taking a long break, I'm revisiting past work and re-learning what I've forgotten.break. Spending time now to re-learn some programming concepts.
    The specific
    ...
    for this temperature conversion programversion are:
    Be able to input data into a text box
    Perform math calculations on button click
    ...
    Clear characters out of text boxes
    And... good GUI design
    ' JBTemp *** version 1.0
    '
    ' Program Created with Just BASIC v1.01
    ' Form Created with Freeform-J v1.0a for Just BASIC
    ' Date Created: 5/22/2017
    ' By: Joe Cole (AKA - thejoecole)
    '
    ' Temperature conversion program for converting between Fahrenheit and Celsius
    '*****************************************************************************************
    nomainwin
    WindowWidth = 520
    WindowHeight = 349
    UpperLeftX=INT((DisplayWidth-WindowWidth)/2)
    UpperLeftY=INT((DisplayHeight-WindowHeight)/2)
    statictext #main.statictext1, "Simple Temperature Converstion Program", 135, 15, 255, 20
    groupbox #main.groupbox2, "Fahrenheit to Celsius", 60, 50, 395, 90
    groupbox #main.groupbox3, "Celsius to Fahrenheit", 60, 160, 395, 90
    button #main.button4, "CONVERT", [button4Click], UL, 220, 80, 80, 30
    button #main.button5, "CONVERT", [button5Click], UL, 220, 195, 80, 30
    button #main.button6, "CLEAR", [button6Click], UL, 165, 270, 80, 30
    button #main.button7, "EXIT", [button7Click], UL, 275, 270, 80, 30
    textbox #main.textbox8, 100, 80, 80, 30
    textbox #main.textbox9, 325, 80, 80, 30
    textbox #main.textbox10, 100, 195, 80, 30
    textbox #main.textbox11, 325, 195, 80, 30
    statictext #main.statictext12, "°F", 185, 85, 15, 20
    statictext #main.statictext13, "°C", 410, 85, 15, 20
    statictext #main.statictext14, "°C", 185, 200, 15, 20
    statictext #main.statictext15, "°F", 410, 200, 15, 20
    open "JBTemp v1.0" for Window as #main
    print #main, "trapclose [quit]"
    print #main, "font arial 10"
    [main.inputLoop] 'wait here for input event
    wait
    [quit]
    close #main :END
    [button4Click] 'Convert Fahrenheit to Celsius
    print #main.textbox8, "!contents? F$"
    F = Val(F$)
    if F$ <> "0" and F=0 then
    notice "You must enter a number for the temperature!"
    end if
    print #main.textbox9, (5/9)*(F-32)
    wait
    [button5Click] 'Convert Celsius to Fahrenheit
    print #main.textbox10, "!contents? C$"
    C = Val(C$)
    if C$ <> "0" and C=0 then
    notice "You must enter a number for the temperature!"
    end if
    print #main.textbox11, (9/5)* C+32
    wait
    [button6Click] 'Clear All Text Boxes
    print #main.textbox8, ""
    print #main.textbox9, ""
    print #main.textbox10, ""
    print #main.textbox11, ""
    wait
    [button7Click] 'Close Program
    close #main
    wait

    Feel free to comment, critique or just say hello. :)
    (view changes)
    8:19 pm
  6. page JBtemp edited JBTemp JBTemp is a simple temperature conversion program. I made a version of this years ago an…

    JBTemp
    JBTemp is a simple temperature conversion program. I made a version of this years ago and now, getting back into programming after a long break, I'm revisiting past work and re-learning what I've forgotten.
    The specific goals I have in mind for this temperature conversion program are:
    Be able to input data into a text box
    Perform math calculations on button click
    Output data into a text box
    Only accept numbers in the text box
    Clear characters out of text boxes
    And... good GUI design
    Feel free to comment, critique or just say hello. :)

    (view changes)
    8:02 pm

More