In a message regarding ListBox Click On Blank Row dated Mon, 26 Dec 2005
09:20:04 -0700, Chuck Pelto said that ...

> I'm interested in setting things up so that if someone clicks on a  
> blank/empty/invalid row, the listbox will add a new row at the bottom
> of the existing rows.

Function MouseDown(x As Integer, y As Integer) As Boolean
  if me.RowFromXY(x,y) = -1 Then
    me.AddRow "new row"
  End If
End Function


--
Steve Garman
Using REALbasic 2005r4 Professional on Windows XP Pro


_______________________________________________
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>

Reply via email to