Xojo Conferences
XDCMay2019MiamiUSA

Listbox Question (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: [ANN] FMOD Ex Audio Classes v0.1b
Next thread: Rnadom Numbers..


Rnadom Numbers..   -   tom.russell transport.alstom.com
  Listbox Question   -   Joe Monia
    Re: Listbox Question   -   Joseph J. Strout

Listbox Question
Date: 01.08.05 20:49 (Mon, 1 Aug 2005 15:49:56 -0400)
From: Joe Monia
Hello everyone,

Im trying to figure out list-boxes again. Im trying to figure out how
have a listbox of choices and as you roll over the list, the items
are selected in blue and when you click a said item, it launches
another item in the application.

In the cell got focus event, I would presume it to be:

listbox.cell.gotfocus = true

But that doesnt work to be able to highlight a row. Now for mouse down

listbox.cell.mousedown = true

That doesnt work either. I need a little help with the syntax here :(

Thanks,
Joe

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Listbox Question
Date: 01.08.05 21:03 (Mon, 1 Aug 2005 14:03:46 -0600)
From: Joseph J. Strout
At 3:49 PM -0400 8/1/05, Joe Monia wrote:

>Im trying to figure out list-boxes again. Im trying to figure out
>how have a listbox of choices and as you roll over the list, the
>items are selected in blue and when you click a said item, it
>launches another item in the application.

That's not a standard UI, and so it's not going to be easy to do.
It'd be much easier to use standard UI, i.e., let the user click (or
use the keyboard) to select an item, and then double-click, press
Return/Enter, or click another button to launch the corresponding
item.

For that, you'd just need to implement the Double-Click, CellKeyDown,
and PushButton.Action events.

Best,
- Joe