[Gambas-user] Filling a text area with a Text file using drag and drop...

Denis Crowther denisc at exemail.com.au
Thu Oct 12 07:09:58 CEST 2023


On 10/12/23 15:54, BB wrote:
> 
> On 12/10/23 2:18 pm, Denis Crowther wrote:
>> On 10/12/23 10:00, sbungay wrote:
>>>    If a text file is dragged from a file manager to a text area, the 
>>> drop event of the text area is not raised. Why is that and can it be 
>>> changed?
>>
>> Works here.
>>
>> Did you set: Drop = True in the IDE or code?
>>
> Yes, it appears that the form designer Drop property is not set or saved 
> (in the IDE) so it has to be set via code.
> 
> To be more explicit, the IDE default value for the Drop property is 
> true, so when the form is saved, this is not output to the .form file. 
> Since the property is just a boolean, when the form is loaded at runtime 
> that property is not set thus it is false. This is a bug.
> 
> b
> 
> 
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----

My Default value is False and it is saved.

Here everything about the "Drop" works as expected.

-- 
Regards
Denis



More information about the User mailing list