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
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
FPC Unleashed (inline var...
by
creaothceann
[
Today
at 08:00:36 pm]
Translation of Lazarus ID...
by
pmralbuquerque
[
Today
at 07:47:01 pm]
PWM signals, atmega328p, ...
by
ccrause
[
Today
at 07:26:20 pm]
GTK3: FillRect() mispaint...
by
zeljko
[
Today
at 07:23:52 pm]
[SOLVED] Can't pass strin...
by
lazarusprogrammer
[
Today
at 06:49:32 pm]
Necromancer's Dos Navigat...
by
Thaddy
[
Today
at 06:26:29 pm]
AI assisted translation o...
by
marcov
[
Today
at 06:15:17 pm]
TUpDown KeyDown event
by
LeP
[
Today
at 06:01:57 pm]
I hope FreePascal can sup...
by
Thaddy
[
Today
at 05:08:11 pm]
Trying to plot points, bu...
by
garymq
[
Today
at 02:01:36 pm]
SPC Player Library
by
creaothceann
[
Today
at 01:59:25 pm]
How to merge multiple cla...
by
cdbc
[
Today
at 11:57:56 am]
Fractal of Mandelbrot
by
Boleeman
[
Today
at 10:20:21 am]
Ann: DeCoperators
by
Thaddy
[
Today
at 09:23:24 am]
My project to build and p...
by
krolikbest
[
Today
at 09:07:12 am]
Weird error
by
xiyi0616
[
Today
at 07:10:18 am]
Remote desktop software i...
by
Boleeman
[
Today
at 12:59:14 am]
fp-h2pas: New C header tr...
by
Gustavo 'Gus' Carreno
[April 13, 2026, 06:32:22 pm]
Nezplug Library Player
by
Gigatron
[April 13, 2026, 04:15:33 pm]
Eschecs (UCI chess GUI) 5...
by
Roland57
[April 13, 2026, 04:10:12 pm]
[ANN] fpGUI Toolkit v2.0....
by
cdbc
[April 13, 2026, 03:14:21 pm]
Lazarus Bugfix Release 4....
by
dbannon
[April 13, 2026, 01:52:18 pm]
Strange happenings with T...
by
jamie
[April 13, 2026, 12:41:42 pm]
Little bit...
by
jamie
[April 13, 2026, 12:17:43 pm]
Fixed Bzip2 unpacker from...
by
domasz
[April 13, 2026, 08:09:54 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: KOL-MCK and ControlByName (Read 7337 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: 12770
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