Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
KOL
»
KOL-MCK and ControlByName
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
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
looping direction control...
by
Josh
[
Today
at 08:28:24 am]
Converting psd files to p...
by
SaraT
[
Today
at 08:25:17 am]
This is me back in Lazaru...
by
Handoko
[
Today
at 03:16:57 am]
Forum slow for others as ...
by
440bx
[
Today
at 03:04:21 am]
Win11 - How to start cons...
by
dculp
[
Today
at 12:21:51 am]
[SOLVED] Download link to...
by
Wings2018
[April 18, 2025, 10:37:08 pm]
Best way to exchange data...
by
Hansvb
[April 18, 2025, 10:16:58 pm]
Testing with SQLite3DataS...
by
1HuntnMan
[April 18, 2025, 10:01:55 pm]
Doing C-like linking of m...
by
domasz
[April 18, 2025, 09:45:42 pm]
2d "platform" game sugges...
by
TBMan
[April 18, 2025, 08:18:00 pm]
First it's a square, then...
by
TBMan
[April 18, 2025, 08:13:13 pm]
FPC 3.2.2 using Result wi...
by
Remy Lebeau
[April 18, 2025, 08:07:23 pm]
accessing array members i...
by
TRon
[April 18, 2025, 08:05:23 pm]
problem with easylazfreet...
by
Bart
[April 18, 2025, 06:40:34 pm]
My kernel cannot response...
by
TYDQ
[April 18, 2025, 04:23:48 pm]
ERROR:Generating PIC, but...
by
TYDQ
[April 18, 2025, 04:22:45 pm]
Feature announcement: Fun...
by
PascalDragon
[April 18, 2025, 02:53:37 pm]
FPC 3.2.2 fpc_chararray_t...
by
PascalDragon
[April 18, 2025, 02:47:47 pm]
Rainbow Dots Animated in ...
by
Boleeman
[April 18, 2025, 02:46:39 pm]
Edmond Harris Spiral: Ver...
by
Boleeman
[April 18, 2025, 02:37:32 pm]
Silver Pascal Coder - Lat...
by
silvercoder70
[April 18, 2025, 01:23:50 pm]
[SOLVED] SQLite3 REINDEX
by
CharlyTango
[April 18, 2025, 12:22:22 pm]
Is this Stupid? What do y...
by
JD
[April 18, 2025, 11:53:26 am]
Amoeba Animated: Not that...
by
Dzandaa
[April 18, 2025, 11:35:43 am]
THashedStringList - do we...
by
Thaddy
[April 18, 2025, 09:53:43 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: KOL-MCK and ControlByName (Read 7162 times)
magi6162
New Member
Posts: 42
KOL-MCK and ControlByName
«
on:
December 28, 2009, 10:33:51 am »
Can not find the function form.ControlByName with KOL-MCK.
Can someone help me?
thanks
Logged
i use
Lazarus-0.9.28.2-0/fpc-2.2.4-091003-cross-arm-wince-win32.exe
on ubuntu 9.04 / windows XP
magi6162
New Member
Posts: 42
Re: KOL-MCK and ControlByName
«
Reply #1 on:
December 29, 2009, 10:27:03 am »
Problem
in LCL:
for i:=0 to count do
Self.ControlByName('v' + IntToStr(i)).Hint := 'AAAAA';
the same thing with KOL-CE for WinCE?
thanks for the help.
Logged
i use
Lazarus-0.9.28.2-0/fpc-2.2.4-091003-cross-arm-wince-win32.exe
on ubuntu 9.04 / windows XP
marcov
Administrator
Hero Member
Posts: 12142
FPC developer.
Re: KOL-MCK and ControlByName
«
Reply #2 on:
December 30, 2009, 08:42:30 pm »
I know nothing about KOL, but that code is not logical.
The loop iterates from 0 to count, iow count+1 items.
Logged
magi6162
New Member
Posts: 42
Re: KOL-MCK and ControlByName
«
Reply #3 on:
January 04, 2010, 10:38:10 am »
Sorry
for i:=0 to count do
begin
Self.ControlByName('v' + IntToStr(i)).Hint := 'AAAAA';
inc(i)
end
I had copied the rest
thanks
Logged
i use
Lazarus-0.9.28.2-0/fpc-2.2.4-091003-cross-arm-wince-win32.exe
on ubuntu 9.04 / windows XP
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
KOL
»
KOL-MCK and ControlByName
TinyPortal
© 2005-2018