Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Realbasic > Re: Listbox hea...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 9 Topic 3312 of 3326
Post > Topic >>

Re: Listbox header question

by Dale Arends <dalearendssafe@[EMAIL PROTECTED] > Apr 14, 2008 at 07:11 PM

sup****t@[EMAIL PROTECTED]
 (Christian Schmitz) wrote in
news:1ifdxu1.13trfd11lmuww0N%sup****t@[EMAIL PROTECTED]
 

> Bernd Fröhlich <befr@[EMAIL PROTECTED]
> wrote:
> 
>> Dale Arends <dalearendssafe@[EMAIL PROTECTED]
> wrote:
>> 
>> > This one will work but don't forget to return True in the method or
>> > it will lead to a Stack Overflow.
>> 
>> Thank you for the hint. I added the "return true".
>> Can you explain why it would lead to an overflow when not returning
>> true?
> 
> Because RB calls the event again if you change the header in the
> event? 
> 
> Gruß
> Christian
> 

Exactly.  When you return true RB assumes that you have completely 
handled the event.  Returning false (which is the default if you don't 
specify it) tells RB that you did your stuff and it should go ahead and 
complete the handling of the event its way which, as Christian said, 
fires the event again.

- Dale
 




 9 Posts in Topic:
Listbox header question
befr@[EMAIL PROTECTED] (  2008-04-11 17:21:56 
Re: Listbox header question
Dale Arends <dalearend  2008-04-12 18:30:12 
Re: Listbox header question
befr@[EMAIL PROTECTED] (  2008-04-13 11:07:41 
Re: Listbox header question
befr@[EMAIL PROTECTED] (  2008-04-13 12:06:33 
Re: Listbox header question
Dale Arends <dalearend  2008-04-13 12:55:18 
Re: Listbox header question
befr@[EMAIL PROTECTED] (  2008-04-14 08:36:38 
Re: Listbox header question
support@[EMAIL PROTECTED]  2008-04-14 11:42:28 
Re: Listbox header question
Dale Arends <dalearend  2008-04-14 19:11:15 
Re: Listbox header question
befr@[EMAIL PROTECTED] (  2008-04-15 09:12:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 2:43:48 CDT 2008.