Hii..
I have three groupboxes named groupbox1, groupbox2 and groupbox3.
In groupbox1, there are two radio buttons Cash and cheque
when click on radiobutton(cash) then groupbox2 should appear and when click on radiobutton(cheque) groupbox3 should appear but by replacing groupbox2 by groupbox3 viceversa.
Shridhar JoshiPosted Jan 23, 2014, 7:13 AM
on checked event of radio button
for cash
groupbox2 .visible = radiobutton(cash) .checked
groupbox2 .visible = !radiobutton(cash) .checked
for cheque
groupbox3 .visible = radiobutton(cheque) .checked
groupbox3 .visible = !radiobutton(cheque) .checked
Where radiobutton(cheque) is radio button used for chq
radiobutton(cash) is radio button for cash
Uchiha ItachiPosted Feb 28, 2014, 1:23 AM
Angel PrincessPosted Jan 23, 2014, 6:10 AM
groupbox2 .visible = radiobutton(cash) .checked
groupbox2 .visible = not radiobutton(cash) .checked
the term "not" is not working
Shridhar JoshiPosted Jan 23, 2014, 5:17 AM
on checked event of radio button
for cash
groupbox2 .visible = radiobutton(cash) .checked
groupbox2 .visible = not radiobutton(cash) .checked
for cheque
groupbox3 .visible = radiobutton(cheque) .checked
groupbox3 .visible = not radiobutton(cheque) .checked