Recent

Author Topic: First line in DBMemo  (Read 494 times)

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
First line in DBMemo
« on: July 18, 2019, 09:49:43 pm »
I have this form with a TPageControl with different TTabsheets (See Def.png).
I fill them from a database and this works all like a charm.


But the fields (DBM_Opmerking1, 2 & 3) are always on the last line of the memo field (See Form.png)
In another part of my program is also a DBMemo-field which is filled from the database and when I use this code

Code: Pascal  [Select][+][-]
  1. DBM_Licentie.SelStart := 0;
It goes to the first line of the memo field.


But when I use
Code: Pascal  [Select][+][-]
  1. DBM_Opmerking1.SelStart := 0;
It does not work.
Can anyone explain to me why this does not work?

« Last Edit: July 18, 2019, 09:51:50 pm by madref »
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

 

TinyPortal © 2005-2018