Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
TEDIT
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Pocketbase
by
steve612
[
Today
at 05:50:42 pm]
CONCAT formula
by
veb86
[
Today
at 05:20:42 pm]
Hello! Anything new?
by
LeP
[
Today
at 03:07:25 pm]
DataPort StopBits and Flo...
by
Thaddy
[
Today
at 02:14:16 pm]
TChart: Wrong default val...
by
wp
[
Today
at 02:03:58 pm]
GTK3 : Icons have borders...
by
theo
[
Today
at 01:55:45 pm]
Problem with drawing orde...
by
VisualLab
[
Today
at 12:28:20 pm]
Lazarus Bugfix Release 4....
by
JuhaManninen
[
Today
at 10:05:03 am]
88 year D. Knuth changes ...
by
Thaddy
[
Today
at 07:31:38 am]
Any way to "embed" Window...
by
egsuh
[
Today
at 06:54:51 am]
could Ardour's YTK be use...
by
dbannon
[
Today
at 05:20:21 am]
interface and GUID someth...
by
egsuh
[
Today
at 03:31:00 am]
CADSys4 3D.
by
maurog
[
Today
at 01:00:05 am]
Questions about TFuncSeri...
by
wp
[
Today
at 12:36:23 am]
UOS - pre-compiled librar...
by
Fred vS
[
Today
at 12:34:06 am]
Pipewire API
by
Fred vS
[March 12, 2026, 10:11:02 pm]
TSplitter color property ...
by
valdir.marcos
[March 12, 2026, 09:20:11 pm]
ShortStrings vs long stri...
by
valdir.marcos
[March 12, 2026, 08:55:02 pm]
LazPaint (alpha-blending,...
by
CM630
[March 12, 2026, 08:38:30 pm]
Z80 ZX Spectrum and Syste...
by
d2010
[March 12, 2026, 07:58:28 pm]
Qt6/Wayland clipboard: pa...
by
valdir.marcos
[March 12, 2026, 06:27:22 pm]
[ANN] PasBuild 1.5.0 rele...
by
valdir.marcos
[March 12, 2026, 06:19:54 pm]
Synchronizing Lazarus pro...
by
valdir.marcos
[March 12, 2026, 05:46:58 pm]
class not found
by
SA.Blackmon
[March 12, 2026, 05:27:32 pm]
Register global hotkey
by
Thaddy
[March 12, 2026, 04:20:28 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: TEDIT (Read 4210 times)
ecitoyen
Jr. Member
Posts: 51
TEDIT
«
on:
September 14, 2010, 07:29:41 pm »
Is it possible to set focus to a Edit1.Text Tedit field...
For Exemple after validate the First Name of an user,
i want to get his last Name in a Edit2.Text field...
may i use something like that:
Edit2.Setfocus...
Thanks a lot!!!
Logged
fabienwang
Sr. Member
Posts: 449
Lazarus is the best
Re: TEDIT
«
Reply #1 on:
September 14, 2010, 08:31:42 pm »
Well Edit2.SetFocus() will work, but not on FormCreate event
if you do it on another event it should work
Logged
I'm using
Arch Linux
.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint
ecitoyen
Jr. Member
Posts: 51
Re: TEDIT
«
Reply #2 on:
September 14, 2010, 09:04:10 pm »
I try it and it go very well for my purpose!!
Lazarus... you are great!!!
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
TEDIT
TinyPortal
© 2005-2018