realbasic-nug
[Top] [All Lists]

Re: How to go from Window.Control to Window.Control.AddRow

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: How to go from Window.Control to Window.Control.AddRow
From: Emile Schwarz <emile dot schwarz at wanadoo dot fr>
Date: Wed, 30 Jul 2003 08:57:34 +0200
Hi Bill,

What's a soft crash?

Your IDE application quits without a message, but not the IDE nor the OS. A hard crash is the whole thing freezed (IDE _AND_ OS).

Nope, Edge's idea should work.
Something's funny going on because it ran here. So does this.

I don't understand... If I had hardware defect, it would cause trouble here and there, not "only when I use REALbasic".

I may have to stop working (spend my time) on this until more information came out.

I readed REALbasic User's Guide yesterday and found that AppleScript and AppleEvents uses only 4 pages... Not enough pages to explain how to use AppleEvents (a simple example on how to send, none for receiving).

But, even if this technology have more than 10 years, I still do not see its use (for every Macintosh user) on a daily basis: not enough applications use them, so few documentation and so on. Even Apple Documentation (IAC) dates from 1995 (that what the pdf says, but it was certainly a small update from the first edition done some years before...)

Thanks,

Emile

PS: I will try the suggestion one more time ;-:)

Subject: Re: How to go from Window.Control to Window.Control.AddRow From: "Bill Johnson" <billj at mac dot com> Date: Tue, 29 Jul 2003 00:24:56 -0700 On Sunday, July 27, 2003, at 11:38 PM, Emile Schwarz wrote:

If c IsA ListBox Then
lbSize = ListBox(c).ListCount
Else
// Not a ListBox
End If

Gary

Unfortunately, this do not works: soft crash when I added the suggestion, works fine when I commented the added code.

I can't say what's up with it.
What's a soft crash?

Hey List any other taker for sharing ideas ?

Nope, Edge's idea should work.
Something's funny going on because it ran here. So does this.
  Dim c As Control
  Dim lbsize As Integer

  c = ListBox1
  If c IsA ListBox Then
    lbSize = ListBox(c).ListCount
    msgBox str(lbSize)
  Else
    // Not a ListBox
  End If



---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

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


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