1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

calculations using option buttons

Discussion in 'Visual Basic ( VB )' started by viv345, Aug 25, 2010.

  1. viv345

    viv345 New Member

    Joined:
    Feb 22, 2010
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    0
    How can i do calculations if i use option buttons.
    For instance:- if I have an option buttons
    1) Option1 button:- if it is selected it should calculate with Text 1 with 2 & give the result in text3.

    And If
    Option2 Button it calculate with Text4 with 3 and give the result in Text5
     
    Last edited by a moderator: Aug 25, 2010
  2. virxen

    virxen New Member

    Joined:
    Nov 24, 2009
    Messages:
    387
    Likes Received:
    90
    Trophy Points:
    0
    you use a command button to calculate the result?
     
    viv345 likes this.
  3. viv345

    viv345 New Member

    Joined:
    Feb 22, 2010
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    0
    Not got it?
     
  4. virxen

    virxen New Member

    Joined:
    Nov 24, 2009
    Messages:
    387
    Likes Received:
    90
    Trophy Points:
    0
    when you ask something try to be precise.

    here is an example with a command button used as a trigger to
    get your result.
     

    Attached Files:

    shabbir and viv345 like this.

Share This Page