[Gambas-user] New name not shown in IDE at first (Gambas2)

Rolf-Werner Eilert eilert-sprachen at ...221...
Mon Jun 8 08:41:32 CEST 2009


Benoît Minisini schrieb:
>> Just had this again:
>>
>> - an existing form with some gadgets on it
>>
>> - one of the drop-down lists wasn't used yet in code
>>
>> - the first time I type the name of this drop-down list (in this case it
>> was just "Names"), the name is not offered in auto-completion. Only when
>> I write it completely AND a fullstop, the list of events is offered.
>>
>> - after this first time, the name appears in auto-completion
>>
>> So, my question is: what was the idea behind this behaviour? Sometimes
>> in the past it was slightly confusing.
>>
>> Regards
>>
>> Rolf
>>
> 
> Sorry, I don't understand. As soon as I add a control on a form, I see it in 
> autocompletion.
> 
> Can you explain me differently, or better provide some screenshots?
> 
> Regards,
> 


Screenshot is difficult, as I don't know if it shows the tooltips. But 
it's easy:

Create a new ComboBox on the form. If it's the first one, it's called 
ComboBox1.

In the class, type Com and you will get a proposal for ComboBox, not 
ComboBox1.

Now change its name (in the Properties dialog at the right) to anything 
else, testbox for instance. You may even press Return after typing. 
Nothing happens, the name doesn't refresh in the preview - and if you 
type "testbox" somewhere within code, the list with proposals will only 
appear after you typed the "."

Does this make it clearer?

Regards

Rolf






More information about the User mailing list