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

BB adamnt42 at gmail.com
Thu Oct 12 06:54:08 CEST 2023


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




More information about the User mailing list