[Gambas-user] Problem with DataControl

T Lee Davidson t.lee.davidson at gmail.com
Wed Dec 20 19:09:03 CET 2017


On 12/18/2017 02:33 AM, bkv at mailbox.org wrote:
> *Hi
> 
> I have a form with a DataControl. I want to write text (comments) into the control. Unfortunately the Enter key has no effect in
> this control. I cannot break the line. I can onlyt get one line of text, and if long enough, it will extend out of the visible
> part. Also, when I type, the text does not come on the upper part of the control, but on the middle.
> 
> Strangely, I have an other form where the DataControl works OK.
> 
> Help is appreciated
> 
> Greetings,
> 
> Bjørn*
> 

I don't understand what you mean by, "the text does not come on the upper part of the control, but on the middle." When I type
in the control, the text is filled in left to right and top to bottom.

Are you using Qt or GTK?

Also, I noticed that any text after a linefeed will not be written to the field when using the Save button in the DataBrowser.

It might help if you provided us with an archive of your project or of a stripped down version. Often, isolating relevant parts
of the code will reveal the problem.


-- 
Lee


More information about the User mailing list