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

T Lee Davidson t.lee.davidson at gmail.com
Sun Oct 15 19:33:58 CEST 2023


On 10/12/23 00: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

I just now reported it. Bug #2806.


-- 
Lee



More information about the User mailing list