FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to choose anyone of the menu items like radio buttons ?
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
How to choose anyone of the menu items like radio buttons ?
Posted: Mon Nov 24, 2008 03:27 PM
Hello Friends,

Some time back somebody has raised this question.

Can anybody guide me how to achive this :



Thanks,

- Ramesh Babu P
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
How to choose anyone of the menu items like radio buttons ?
Posted: Mon Nov 24, 2008 04:22 PM

Ramesh,

You could do it with checked items. You would have to call a function and uncheck all other items in the group and check the one clicked on by the user.

You could also probably do something similar using a bitmap.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
How to choose anyone of the menu items like radio buttons ?
Posted: Tue Nov 25, 2008 12:39 AM

Mr.James,

As you said, I have to write a function to check the clicked menu item in
a group and uncheck the rest.

>> You could also probably do something similar using a bitmap

Really a good tip.

Regards,

  • Ramesh Babu P

Continue the discussion