realbasic-nug
[Top] [All Lists]

Re: Determining the Menu selection on a BevelButton

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Determining the Menu selection on a BevelButton
From: Norman Palardy <npalardy@great-white-software.com>
Date: Sat, 31 Jan 2009 12:03:32 -0700
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <26F71D9D-408A-494D-AE02-C7EDA921F21B@tolisgroup.com>
References: <26F71D9D-408A-494D-AE02-C7EDA921F21B@tolisgroup.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

On 31-Jan-09, at 11:20 AM, Tim Jones wrote:

Hi Folks,

I've exhausted the OLR, the User's Guide, included examples, and even autocomplete and can't figure out how to act on a user's menu selection in a bevelbutton.

Any examples floating around out there?

Put a bevel button on a window
set HasMenu to "2 - Menu on Right"
Put this code in the respective events

Event Open()
  me.AddRow "1"
  me.AddRow "2"
  me.AddRow "3"
  me.AddRow "4"
  me.AddRow "5"
  me.AddRow "6"

End Event

Event Action()
  me.Caption = me.List(me.MenuValue)
End Event


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>